On behalf of Nomadic Labs, I am please to announce the first few releases of Ringo: a library for caches. Ringo offers two kinds of caches: Maps for caches of key-value pairs and Sets for caches of simple elements. In addition, each kind of cache can be tweaked to handle their bounds differently.
Ringo versions 0.1, 0.2 and 0.3 are available on
opam. As the version number and the bundled announce suggests, this library is still in early phases of release: additional replacement policies will be added, the interface will probably change somewhat, etc. Suggestions welcome!
Even though the interface is still in early phases of release, the implementation is covered by a lot of tests and is already in use in the Tezos project.
The code is available at https://gitlab.com/nomadic-labs/ringo