FineDB
discontinuedby Amaury Bouchard · since 2013 · also known as Fine DB
2013 learning project: a multi-threaded C key-value server on LMDB and nanomsg with Snappy compression.
discontinued. No commits since September 2013; finedb.org is parked. LMDB itself, or servers built on it, are the maintained route.
Overview
FineDB is a small key-value database server written in C by Amaury Bouchard in mid-2013, mainly as a way to learn network programming, multi-threading and replication. Storage is delegated to LMDB, which provides memory-mapped B+tree pages and MVCC so readers never block the writer, while nanomsg sockets connect the connection threads to a single writer thread. Clients speak a compact binary protocol with GET, PUT, DEL, LIST, DROP, PING and database-selection commands, optional synchronous or asynchronous acknowledgement, and Snappy-compressed values; each stored value carries a replication timestamp and an expiry time. It ships a C client library and a command-line shell. Development stopped in September 2013 and the finedb.org domain is parked.
Strengths & trade-offs
Strengths
- +LMDB storage gives crash-safe, memory-mapped reads that never block on writes
- +Clean thread design: connection threads feed one writer over nanomsg
- +Per-value expiry and Snappy compression in a very small codebase
Trade-offs
- −Abandoned after a few months of development in 2013
- −Replication and clustering were planned but never finished
- −Only a C client library; no authentication
Great for
- +Learning how to wrap LMDB in a multi-threaded network server
- +Reference code for nanomsg-based internal messaging
Think twice for
- −Production data
- −Replicated or distributed deployments
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
- Limited ACID
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Client server, Single node
- Query languages
- FineDB binary protocol commands
Deployment
Ecosystem
Alternatives to FineDB
Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.
finedb vs lmdb →The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
finedb vs redis →A Redis-protocol database on RocksDB that trades a little latency for disk-sized capacity.
finedb vs apache-kvrocks →Heavily reworked LMDB descendant: memory-mapped ACID B+tree with auto-growing files.
finedb vs libmdbx →The original multi-threaded, dead-simple distributed memory cache for key-value blobs.
finedb vs memcached →The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.
finedb vs ehcache →FineDB FAQ
What is FineDB?
FineDB is a key-value database by Amaury Bouchard, first released in 2013. FineDB is a small key-value database server written in C by Amaury Bouchard in mid-2013, mainly as a way to learn network programming, multi-threading and replication. Storage is delegated to LMDB, which provides memory-mapped B+tree pages and MVCC so readers never block the writer, while nanomsg sockets connect the connection threads to a single writer thread. Clients speak a compact binary protocol with GET, PUT, DEL, LIST, DROP, PING and database-selection commands, optional synchronous or asynchronous acknowledgement, and Snappy-compressed values; each stored value carries a replication timestamp and an expiry time. It ships a C client library and a command-line shell. Development stopped in September 2013 and the finedb.org domain is parked.
Is FineDB open source?
Yes. FineDB is open source. License: Apache License 2.0.
Does FineDB support ACID transactions?
Partly. FineDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does FineDB scale horizontally?
FineDB 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 FineDB?
You can self-host it.
What is FineDB best for?
FineDB is a strong fit for learning how to wrap LMDB in a multi-threaded network server and reference code for nanomsg-based internal messaging. Think twice for production data.
What are the best alternatives to FineDB?
Common alternatives to FineDB include LMDB, Redis, Apache Kvrocks, libmdbx and Memcached. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is FineDB still maintained?
FineDB is discontinued. No commits since September 2013; finedb.org is parked. LMDB itself, or servers built on it, are the maintained route.
How popular is FineDB?
FineDB ranks #631 of 844 databases on the WhichDB Score (0.5/100), and #116 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


