tianwen2976 / webapp-improved

Automatically exported from code.google.com/p/webapp-improved
Other
0 stars 0 forks source link

Auto-memcached Models for App Engine #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be awesome if there was a base Model class that automatically 
memcached models when read, and put them back on write.

This could be done similar to how Nick Johnson describes here: 
http://blog.notdot.net/2009/9/Efficient-model-memcaching

Original issue reported on code.google.com by jasonhall@google.com on 7 Sep 2011 at 1:11

GoogleCodeExporter commented 9 years ago
You may want to take a look at/try ndb 
(http://code.google.com/p/appengine-ndb-experiment/) as that does automatic 
entity caching similar to what you're asking (I think).

Original comment by curtis.t...@gmail.com on 4 Oct 2011 at 12:16

GoogleCodeExporter commented 9 years ago
The GAE db.Model stuff isn't part of this project, you'd be much better 
discussing this in the gae python group, and putting any issues into the main 
GAE issue tracker.

That said, Guido's NDB stuff looks promising, as referenced above.  I'd guess 
it stands a pretty high chance of replacing GAE's ext.db, in the same way that 
webapp2 is replacing webapp.

Original comment by paul.j.m...@googlemail.com on 12 Oct 2011 at 2:46

GoogleCodeExporter commented 9 years ago
I don't think that this is a webapp2 issue.

Original comment by bquin...@google.com on 5 Dec 2011 at 11:27