roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

The hit rate is not stable #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I'm using spymemcached 2.7.2, the server is membase1.6.5.4. 
OS is redhat.

When I use spymemcached2.7, the hit rate is always 1. 
After I upgrade to spymemcached2.7.2, the hit rate is always below 1.

URI base = new URI("http://localhost:8091/pools/");
ArrayList<URI> uriList = new ArrayList<URI>();
uriList.add(base);
MemcachedClient memcachedClient = new 
MemcachedClient(uriList,"default",null,null);

Then I start 100 threads, each thread will write 2000 times and read 8000 times 
for the same keyset. However, there are some keys's value is null after 
memcachedClient set the value.

Does someone have this issue?

Original issue reported on code.google.com by pengfu...@gmail.com on 20 Jul 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Is it possible that your dataset changed.  Can you post a test that shows 
different hit rate between 2.7 and 2.7.1?

This may also be fixed by a get bulk issue, and it may just be that 2.7.1 is 
more correct.

Original comment by ingen...@gmail.com on 31 Aug 2011 at 10:53