Serenity
discontinuedby Dmitry Simonenko · since 2015 · also known as SerenityDB, Serenity (Sophia/Redis)
Proof-of-concept Redis-compatible server with ACID transactions on the Sophia disk engine; abandoned in 2016.
discontinued. Proof of concept with no commits since July 2016. For a disk-backed Redis-compatible store use Apache Kvrocks or Pika.
Overview
Serenity was a 2015-2016 experiment by Dmitry Simonenko, author of the Sophia storage engine, to put a Redis-compatible front end on disk-based storage. It implemented the basic Redis commands and configuration format so redis-cli, redis-benchmark, memtier and existing Redis drivers worked unchanged, but stored data in Sophia's append-only MVCC engine so datasets could be much larger than RAM, and added consistent cursors, real ACID transactions and stored procedures. The README always called it a proof of concept, and development stopped in July 2016. Disk-backed Redis-protocol servers such as Kvrocks and Pika now fill this role.
Strengths & trade-offs
Strengths
- +Drop-in Redis protocol and config compatibility with existing tools
- +Datasets larger than memory via the Sophia MVCC engine
- +Real ACID transactions and consistent cursors beyond what Redis offered
Trade-offs
- −Explicitly a proof of concept; only basic Redis commands
- −Abandoned since 2016 with no releases
- −The underlying Sophia engine has had no code changes since 2019
Great for
- +Studying how to layer the Redis protocol over a disk engine
- +Historical comparison with Kvrocks, Pika and other disk-backed Redis servers
Think twice for
- −Production caching or storage
- −Workloads needing the full Redis command set
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Single node, Client server
- Query languages
- Redis commands
Single server; data could exceed RAM thanks to the Sophia disk engine.
Deployment
Ecosystem
Alternatives to Serenity
A Redis-protocol database on RocksDB that trades a little latency for disk-sized capacity.
serenity vs apache-kvrocks →Qihoo 360's Redis-compatible, RocksDB-backed store for datasets too big for memory.
serenity vs pika →The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
serenity vs redis →The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
serenity vs valkey →A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.
serenity vs dragonfly →The original multi-threaded, dead-simple distributed memory cache for key-value blobs.
serenity vs memcached →Serenity FAQ
What is Serenity?
Serenity is a key-value database by Dmitry Simonenko, first released in 2015. Serenity was a 2015-2016 experiment by Dmitry Simonenko, author of the Sophia storage engine, to put a Redis-compatible front end on disk-based storage. It implemented the basic Redis commands and configuration format so redis-cli, redis-benchmark, memtier and existing Redis drivers worked unchanged, but stored data in Sophia's append-only MVCC engine so datasets could be much larger than RAM, and added consistent cursors, real ACID transactions and stored procedures. The README always called it a proof of concept, and development stopped in July 2016. Disk-backed Redis-protocol servers such as Kvrocks and Pika now fill this role.
Is Serenity open source?
Yes. Serenity is open source. License: BSD 2-Clause License.
Does Serenity support ACID transactions?
Yes. Serenity supports full ACID transactions, with strong consistency.
Does Serenity scale horizontally?
Serenity does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run Serenity?
You can self-host it.
What is Serenity best for?
Serenity is a strong fit for studying how to layer the Redis protocol over a disk engine; and historical comparison with Kvrocks, Pika and other disk-backed Redis servers. Think twice for production caching or storage.
What are the best alternatives to Serenity?
Common alternatives to Serenity include Apache Kvrocks, Pika, Redis, Valkey and Dragonfly. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Serenity still maintained?
Serenity is discontinued. Proof of concept with no commits since July 2016. For a disk-backed Redis-compatible store use Apache Kvrocks or Pika.
How popular is Serenity?
Serenity ranks #652 of 844 databases on the WhichDB Score (0.4/100), and #125 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.



