Benchmark of client APIs per get query?

Gregory Block gblock at ctoforaday.com
Sat Dec 11 16:15:46 PST 2004


On 11 Dec 2004, at 20:36, Kevin A. Burton wrote:
> Well I'm seeing < 1000 gets per second.   I also see less than < 500 
> gets+sets per second (when I do this at the same time).

Depending on whether or not you've got compression on, and the limit on 
the threshold you have set, that can have an effect.  Also, to negate
serialisation, you can always perform your gets/sets on strings, and 
turn off serialization.

Once you've eliminated serialization overhead and the cost of gzip 
compression stream handling in java (which is dead slow), you'll have a
better idea of what's *actually* impacting.

Serialization is bound to be some of that overhead - but depending on 
what you're writing, it's gzip that's the eater of babies.



More information about the memcached mailing list