bicache
bicache copied to clipboard
A hybrid MFU / MRU, TTL, sharded cache for Go (aka LFU / LRU)
Insertions will always be a fraction of the write rate and will be done asynchronous to API IO.
Allow direct calls for shard maint tasks. This would also allow tests to be cleaned up, which rely on sleeps to pass auto eviction cycles.
Replay traffic logs, graph hit rates and other performance metrics.
This is an in-memory cache; every cycle counts. Also see: https://github.com/jamiealquiza/bicache/issues/20, https://github.com/jamiealquiza/bicache/issues/17
Also WaitGroups, etc.