Registered 2015-07-21 by Michi Henning

A cache of key-value pairs with persistent storage for C++

This API provides a cache of key-value pairs with a backing store. It is intended for caching arbitrary (possibly large) amounts of data, such as might be needed by a web browser cache. The cache supports both least-recently-used and time-to-live expiration policies. It scales to large numbers (millions) of entries and is very fast. The implementation is based on leveldb and typically provides throughput many times larger than the I/O bandwidth to disk.

The cache is robust in the face of crashes and power loss. After a re-start, it is guaranteed to be in a consistent state with correct data. Some number of updates that were made just prior to a power loss or kernel crash can be lost; however, if just the calling process crashes, all updates that were made prior to the crash are guaranteed to be on disk.

Project information

Unity API Team
Unity API Team

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Programming languages:

All bugs Latest bugs reported

Get Involved

  • Report a bug
  • warning
    Ask a question
  • warning
    Help translate


persistent-cache-cpp does not have any download files registered with Launchpad.