python - What is the most efficient way to use datastore in google appengine? -


currently working on project that's supposed used lot of people. worried datastore read/write/small ops using resources. since new appengine, there efficient ways make numbers smaller? thought using memcache it's not secure way. idea search datastore entities using the:

select __key__ table 

then use:

....#code table.get_by_id(entity.id()) ....#code 

?

thank much.

since looks using python, highly recommend using new datastore api, ndb.

ndb automatically uses memcache cache it's models behind scenes without work on part. granted should @ using memcache manually, ndb isn't silver bullet. it'll free, nice.

beyond performance gains it's cleaner interface app engine datastore. has clean support bulk operations can performance boost.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -