package aches

  1. Overview
  2. Docs
Caches (bounded-size stores) for in-memory values and for resources

Install

Authors

Maintainers

Sources

ringo-v1.0.0.tar.gz
md5=c4bfe8506ee67b82bf5a4f5a989711d3
sha512=4c06df137173a605f14d1bf06193e591b02bd61518669f2d77513e7cd9ad7b660d5ea913cbb079eef8ac17246a71422827594dfe5ffaec032284e0de7e660305

README.md.html

Ringo, Aches, Aches-lwt

Caches (bounded-size, key-value or simple-value stores) and other bounded-size collections.

Ringo

Ringo is a library for bounded-size collections. These collections are parametrised by size limit. When elements are inserted beyond the size limit, another element is removed to make room.

Aches

Aches is a library for caches. It provides Value-Caches (in the Vache module) as well as Resource-Caches (in the Rache module). Unlike value caches, resources caches have a built-in clean-up mechanism and a clear ownership mechanism (to keep track of who is responsible for cleanning-up a resource).

Aches-lwt

Aches-lwt is a library for caches of Lwt-promises. It provides Lwt-promise-Caches (in the Lache module) which have a dedicated interface to avoid some common race-conditions with concurrency and caches. It also provides opinionated caches for error-management and automated cancelling of promises.

Documentation

The documentation is available in the mli files of the library.