Stable memory
The Region library can be used to interact with stable memory on ICP.
The library provides low-level access to Internet Computer stable memory.
The ExperimentalStableMemory library has been deprecated.
New applications should use the Region library: it offers additional isolation between different libraries using stable memory.
Mops packages for stable memory
- memory-buffer: Persistent buffer implementation.
- memory-hashtable: A library for storing, updating, deleting, and retrieving a single blob-value per key.
- StableTrie: A key-value map data structure that has its main data living permanently in stable memory using Regions.
Samples
- motoko-bucket: A key value database library that uses stable memory. 
- motoko-cdn: An auto-scaling storage solution. 
- motoko-dht: A distributed hash table sample. 
- motoko-document-db: A document database sample.