In-memory key-value store
A fast key-value store with a durable heart.
Ember serves reads and writes from memory in microseconds and persists to disk in the background, so a restart never loses your data.
Read the documentation →$ ember serve
Ember In-memory·In-memory speed·Background persistence·TTL & eviction·REST API
Capabilities
Microsecond reads
Keys are served straight from memory; a typical GET or SET completes in tens of microseconds.
Durable by design
Writes are appended to a log and snapshotted, so a crash or restart replays cleanly.
TTL & eviction
Set a time-to-live per key and pick an eviction policy when memory runs tight.
Set a key, get it back.
No schema, no setup — start the server and use the API.
- 1Start Ember on any host.
- 2Set a key with an optional TTL.
- 3Read it back over the API.
# start the store
$ ember serve --data ./ember
# set a key with a 60s ttl
$ curl -X PUT :6100/v1/kv/session \
-H 'ttl: 60' -d 'abc123'
→ ok
# read it
$ curl /v1/kv/session