Good to know.  The memcache approach sounds "better" to me too, but
probably overkill for now.

Thanks for the suggestions.

Matt


On Wed, Apr 21, 2010 at 11:51 PM, Tristan <[email protected]> wrote:
> You could create a brand new entity with something like Entity entity
> = new Entity(<entityKey>). You could then populate it with the data
> and then do a .put(entity). This will effectively execute an update
> without doing a .get(), but you have to trust your data because you're
> replacing what you stored with what was provided by the client.
>
> Probably a "better" way, would be to store the entity in the memcache
> when you serve it to the client, and then try the memcache.get()
> before hitting the datastore when you get the 'complete' action, that
> should execute fast, and then just .put() that.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to