On Thu, Dec 8, 2011 at 10:32 AM, Jeff Schnitzer <[email protected]> wrote:
> > I'm sorry, but you clearly haven't actually used this cache in the real > world. I've looked at DataNucleus' Level2Cache interface and noticed that > it serializes requests entity-by-entity. This means that every single > request in a batch get triggers 1 or 2 RPCs; on a cold cache, a batch get > for 10 items will require 20 separate, linear RPCs. This doesn't work - > it's an order of magnitude slower than a simple datastore fetch would have > been in the first place. > Oops, that is not quite correct. On a cold cache, a batch get for 10 items will require *30* linear RPCs to get the data, plus another 10 to populate the cache. 40 RPCs in linear execution. And that's just 10 items. Jeff -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
