Rough outline of what's happening for each call: Get 1: Single Get with a String key, for an object ~1KB in size Get 2: Single Get with an Objectify Key object as the key, for an object ~300B in size Get 3: GetAll Call with 7 Objectify Key objects as the keys, for 7 objects ~400B in size Set 1: Single Set with an Objectify Key object as the key, for an object ~300B in size Set 2: Single Set with an Objectify Key object as the key, for an object ~1KB in size Set 3: Single Set with String key, for an object ~1KB in size
All objects implement Externalizable. Hopefully that's enough information for you, but give me a shout if you need more - I've re-tested this morning and the same discrepancy in durations is still there. On Feb 2, 8:58 pm, "Ikai Lan (Google)" <[email protected]> wrote: > Memcache should not be slower since Memcache behavior should not have > changed. Let me find out for you. Do you have any more details about what > you are doing in these calls (not that it should matter)? > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Wed, Feb 2, 2011 at 9:18 AM, Simon Knott <[email protected]> wrote: > > I've just been playing around with an application and trying to > > determine whether to go with High Replication or Master/Slave and the > > biggest issue I'm seeing at the moment is that MemCache is much, much > > slower! > > > Is there a difference in MemCache for HR applications that I'm not > > aware of? Exactly the same MemCache operation with the same > > serialized data is taking anywhere between 3-8 times slower on the HR > > application. > > > From an example hit: > > > Master/Slave: > > @1ms memcache.Get real=3ms api=0ms > > @5ms memcache.Get real=2ms api=0ms > > @8ms memcache.Get real=3ms api=0ms > > @35ms memcache.Set real=4ms api=0ms > > @80ms memcache.Set real=4ms api=0ms > > @84ms memcache.Set real=4ms api=0ms > > > High Replication: > > @3ms memcache.Get real=28ms api=0ms > > @32ms memcache.Get real=7ms api=0ms > > @41ms memcache.Get real=11ms api=0ms > > @175ms memcache.Set real=14ms api=0ms > > @249ms memcache.Set real=28ms api=0ms > > @278ms memcache.Set real=17ms api=0ms > > > -- > > 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]<google-appengine-java%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. -- 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.
