the minimal feature would be just TTL by keys and touches strategy(when a key is read it restarts the ttl couting for the key).
2 Likes
4 Likes
Most caches use a centralised gen_server, so when the throughput of reads and writes is sufficiently big (say you have hundreds of thousands of client-processes using the cache), that centralised gen_server can’t keep up with the requests.
Also if TTL is not required to be very very strict, the segment strategy implemented in this library makes the TTL bookkeeping virtually free.
We use this cache in the MongooseIM messaging server.
3 Likes