DatastoreStorage issues too many Datastore Read Opetions for GAE applications.

Issue #318 new
Tomoyuki Saito
created an issue

The current implementation of filedb/ issues too many Datastore Read Operations, such as DatastoreFile.all() and DatastoreFile.get_by_key_name(). Because GAE applications have the quota of Datastore Operations and because the operations are slower than memcache operations, those operations should be used when they are truly needed.

In particular, the function DatastoreStorage.file_exists is called very often, so the keys of existing files should be managed with memcache.

Comments (0)

  1. Log in to comment