On Wed, Apr 18, 2012 at 3:36 AM, cloudpre <[email protected]> wrote:
> Jeff - thanks for the note. I have been trying to add few items in
> memcache manually.
>
> Can put operations also be saved? Let's say I am updating the same
> query again after few seconds.

I'm not sure what you mean here.  The cache covers get(), put(), and
delete() operations.  Queries do not affect the cache at all.
However, you can convert queries into keys-only queries followed by
batch get()s; this will cost small datastore operations for cache hits
rather than full read operations.  Objectify4 will actually do this
for you.

> Does it work flawlessly in the production? The last thing I want to
> see is our thousands of customers coming back and complaining.

There have not been any complaints for the current cache code (3.1+),
and it is fairly widely used.  Older versions of the cache code (3.0
and prior) had synchronization issues, but for 3.1 I rewrote it with
some help from Ari and Alfred (Google).  It should be transactionally
safe - even under heavy contention - as long as you don't hit
DeadlineExceededExceptions.

Jeff

-- 
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