LedisDB
discontinuedby Siddon Tang and contributors · since 2014 · also known as Ledis
Redis-like data-structure server in Go that keeps data on disk via LevelDB, RocksDB or goleveldb.
discontinued. No commits since May 2020 and no release since v0.6 (Nov 2017); not formally archived. Kvrocks or Pika are maintained disk-backed Redis alternatives.
Overview
LedisDB, started by Siddon Tang in 2014, implements Redis-style KV, list, hash, set and sorted-set commands in Go but persists them to an embedded disk engine (goleveldb, LevelDB, RocksDB or an in-memory backend), so datasets are not limited by RAM. It speaks enough of the Redis protocol to be managed with redis-cli and many Redis clients, adds an HTTP API with JSON/BSON/msgpack output, Lua scripting, TTLs, master-slave replication and repair tools, and can be embedded as a Go library; clustering relied on the separate xcodis proxy. It was a popular 'Redis on disk' option in China around 2015-2017. The last tagged release is v0.6 (2017) and the last commit was in May 2020; the repository is not archived but is effectively unmaintained.
Strengths & trade-offs
Strengths
- +Redis data structures without the RAM limit, persisted to LevelDB/RocksDB
- +Manageable with redis-cli and many existing Redis clients
- +Embeddable as a Go library or run as a server
- +HTTP API with JSON/BSON/msgpack responses
Trade-offs
- −Unmaintained since 2020
- −Only a subset of Redis commands and semantics
- −Clustering needs an external proxy; replication is asynchronous
Great for
- +Existing deployments that need disk-backed Redis-style structures
- +Reference for mapping Redis types onto an LSM store
Think twice for
- −New projects (use Apache Kvrocks, Pika or Redis/Valkey)
- −Workloads requiring full Redis compatibility
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- Addon
- Multi-region
- Read replicas
- Transactions
- None
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- Client server, Primary replica, Embedded
- Query languages
- Redis-style commands, Lua
Disk-backed so datasets can exceed RAM; sharding via the separate xcodis proxy.
Deployment
Ecosystem
Alternatives to LedisDB
A Redis-protocol database on RocksDB that trades a little latency for disk-sized capacity.
ledisdb vs apache-kvrocks →Qihoo 360's Redis-compatible, RocksDB-backed store for datasets too big for memory.
ledisdb vs pika →Redis-protocol NoSQL server that keeps strings, hashes, sorted sets and lists on disk in LevelDB.
ledisdb vs ssdb →Disk-backed Redis-protocol server with pluggable RocksDB, LevelDB or LMDB engines; unmaintained since 2019.
ledisdb vs ardb →The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
ledisdb vs redis →The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
ledisdb vs valkey →LedisDB FAQ
What is LedisDB?
LedisDB is a key-value database by Siddon Tang and contributors, first released in 2014. LedisDB, started by Siddon Tang in 2014, implements Redis-style KV, list, hash, set and sorted-set commands in Go but persists them to an embedded disk engine (goleveldb, LevelDB, RocksDB or an in-memory backend), so datasets are not limited by RAM. It speaks enough of the Redis protocol to be managed with redis-cli and many Redis clients, adds an HTTP API with JSON/BSON/msgpack output, Lua scripting, TTLs, master-slave replication and repair tools, and can be embedded as a Go library; clustering relied on the separate xcodis proxy. It was a popular 'Redis on disk' option in China around 2015-2017. The last tagged release is v0.6 (2017) and the last commit was in May 2020; the repository is not archived but is effectively unmaintained.
Is LedisDB open source?
Yes. LedisDB is open source. License: MIT License.
Does LedisDB support ACID transactions?
No. LedisDB does not provide ACID transactions; its consistency model is eventual.
Does LedisDB scale horizontally?
LedisDB scales horizontally through an official extension, proxy or edition rather than in the core engine. It is comfortable at medium scale (≤ 10 TB). It supports cross-region read replicas.
How can I run LedisDB?
You can self-host it and embed it in your application.
What is LedisDB best for?
LedisDB is a strong fit for existing deployments that need disk-backed Redis-style structures and reference for mapping Redis types onto an LSM store. Think twice for new projects (use Apache Kvrocks, Pika or Redis/Valkey).
What are the best alternatives to LedisDB?
Common alternatives to LedisDB include Apache Kvrocks, Pika, SSDB, Ardb and Redis. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is LedisDB still maintained?
LedisDB is discontinued. No commits since May 2020 and no release since v0.6 (Nov 2017); not formally archived. Kvrocks or Pika are maintained disk-backed Redis alternatives.
How popular is LedisDB?
LedisDB ranks #538 of 844 databases on the WhichDB Score (1.5/100), and #88 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


