vmemcache
vmemcache copied to clipboard
Buffer based LRU cache
Since the mutex, the multi-thread performance scaling is not good. With 4 threads, we see most of time consuming is on the mutex lock and unlock. We run the benchmark:...
vmemcache_put_if_absent() If the key is not present in the cache put the key to the cache atomically. ``` Value existingValue = vmemcache_get(key); if (existingValue == null) { vmemcache_put(key, value); return...
We're missing Coverity scans in vmemcache repo. It is probably be a good idea to add it. By this addition it should also be fixed usage of "COVERITY" variable (see...
I expect that most of the time an user writes an on_evict callback, it's to do something to the entry that's being evicted. That usually requires knowing the value's size....