emcache icon indicating copy to clipboard operation
emcache copied to clipboard

Idea: use Relativistic Hash Tables

Open stereobooster opened this issue 8 years ago • 1 comments

As of now implementation use LinkedHashTable, which is Double Linked List plus HashMap, which in turn is Robin Hood Hash Table.

How about to try to implement Relativistic Hash Tables which suppose to handle concurency much better.

Quote from paper

Applying this algorithm to memcached removes a scalability limit for get requests, allowing memcached to scale linearly and service up to 46% more requests per second.


Other interesting papers to explore:

Alternatives:

Malloc:

stereobooster avatar Oct 06 '16 21:10 stereobooster

Malloc: scalloc, llalloc, jemalloc, hoard, tcmalloc, ptmalloc2, tbbmalloc_proxy, supermalloc

  • https://github.com/cksystemsgroup/scalloc
    • https://github.com/cksystemsgroup/scalloc-artifact/blob/master/env.sh#L30

denji avatar Jan 29 '17 16:01 denji