Multilevel Aging Cache
This library aims to provide an interface for storing and retrieving data from a hierarchy of commonly used persistence mechanisms. In a storage hierarchy, different storage systems are faster than others. Specify a hierarchy and allow the system to manage reading/writing to each layer.
Feature Summary (Some Planned)
- A cache designed for distributed systems
- Support for multiple levels (Memory -> Distribuited Cache -> Persistence Layer)
- Publish writes to other nodes
- Plugin storage providers
- Memory (Built-in)
- ioredis
- mongodb
- mongoose
- Varied replacement algorithms
- None (Distributed synchronization only)
- FIFO
- LRU
- Persistence control
- Cache only with no persistence
- Require top level persistence on write
- Consistency control
- No writes to newer values
- Overwrite as needed
Usage
See the demo program for an example of how to use the library.
TODO add more detail