cloudant/mem3 — pull request #19 by davisp (2012-04-19 20:19:11+00:00)
Title: Replace mem3_cache with mem3_shards

This change is to address the unbounded cache that existed in
mem3_cache. The module name has been renamed to mem3_shards and it now
contains an API for accessing shards in the cache so that hits can be
registered with the cache.

The cache itself is now a proper LRU with a bounded size. The other
behavior change is to let the cache warm after start instead of
preloading it with the entire contents of the shards database. This
means that shards will be inserted as they are read from disk which
introduces a period of cold cache when the node boots.

BugzId: 13414