I tried a basic application using the libmemcached library and for fetching 
the stored values I came across two functions:
1. memcached_mget
2. memcached_get

According to the documentation, memcached_mget is faster as compared to 
memcached_get when retrieving multiple key-value pairs.
I wrote two applications, one using memcached_mget and the other using 
memcached_get and measured the time taken to retrieve the key-value pairs.
However, I found that memcached_mget takes longer which seems 
counter-intuitive. Does anybody know why this may be the case.

FYI: I am working with a data set of 100000 key-value pairs, each value of 
size 1 KB and using a cluster of 8 machines.


You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to