5 ms·
Memcache uses an outdated and slow hash and hashtable. This is using jemalloc and a concurrent hashtable. Seems to be miles better.
by rurban 5y ago
Memcache uses an outdated and slow hash and hashtable.
This is using jemalloc and a concurrent hashtable. Seems to be miles better.
- Lhiw 5y agoNot this again... https://news.ycombinator.com/item?id=28833202 https://news.ycombinator.com/item?id=28833202
- tinktank 5y ago> Memcache uses an outdated and slow hash and hashtable. No it doesn't. A cursory scan through the code will tell you as much.
- rurban 5y agoExactly why I told so. I even started to improve it some years ago, but got sidetracked. The only nice thing about the code are signals on htable updates. But a proper, fast concurrent hashtable would work wonders.