AngstromDB
discontinuedby Amaury Bouchard · since 2013 · also known as ÅngströmDB
Tiny teaching key-value server in C built on LMDB and nanomsg, written as a 2013 conference talk demo.
discontinued. Educational demo from 2013 with no changes since; the author marks it as not for real use.
Overview
AngstromDB is a deliberately minimal key-value server written in C by Amaury Bouchard in September 2013 as live example code for a talk. It stores data in LMDB, uses nanomsg sockets and a pool of worker threads, and speaks a tiny binary protocol with PUT, GET and DELETE commands, with a PHP command-line client. The author states it is for education only: there is no error handling, no replication and several naive code paths, and he pointed users to his separate FineDB project for real use. The repository has nine commits and has not changed since 2013, which makes it a compact read for anyone learning how a networked key-value store is put together.
Strengths & trade-offs
Strengths
- +Very small codebase that shows LMDB, nanomsg and a thread pool wired into a server
- +Permissive Apache 2.0 license for reuse in teaching material
Trade-offs
- −No error handling, replication or security by design
- −Unmaintained since 2013
- −Custom protocol with no client libraries beyond a PHP demo
Great for
- +Learning how to build a networked key-value store
- +Teaching examples for LMDB and nanomsg
Think twice for
- −Any production use, per the author
Capabilities
Native or official first-party support · 1 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
- Single node, Client server
- Query languages
- Binary PUT/GET/DELETE protocol
Deployment
Ecosystem
Alternatives to AngstromDB
Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.
angstromdb vs lmdb →The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
angstromdb vs redis →Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.
angstromdb vs rocksdb →The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
angstromdb vs valkey →The original multi-threaded, dead-simple distributed memory cache for key-value blobs.
angstromdb vs memcached →The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.
angstromdb vs ehcache →AngstromDB FAQ
What is AngstromDB?
AngstromDB is a key-value database by Amaury Bouchard, first released in 2013. AngstromDB is a deliberately minimal key-value server written in C by Amaury Bouchard in September 2013 as live example code for a talk. It stores data in LMDB, uses nanomsg sockets and a pool of worker threads, and speaks a tiny binary protocol with PUT, GET and DELETE commands, with a PHP command-line client. The author states it is for education only: there is no error handling, no replication and several naive code paths, and he pointed users to his separate FineDB project for real use. The repository has nine commits and has not changed since 2013, which makes it a compact read for anyone learning how a networked key-value store is put together.
Is AngstromDB open source?
Yes. AngstromDB is open source. License: Apache License 2.0.
Does AngstromDB support ACID transactions?
Partly. AngstromDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does AngstromDB scale horizontally?
AngstromDB 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 AngstromDB?
You can self-host it.
What is AngstromDB best for?
AngstromDB is a strong fit for learning how to build a networked key-value store; and teaching examples for LMDB and nanomsg. Think twice for any production use, per the author.
What are the best alternatives to AngstromDB?
Common alternatives to AngstromDB include LMDB, Redis, RocksDB, Valkey and Memcached. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is AngstromDB still maintained?
AngstromDB is discontinued. Educational demo from 2013 with no changes since; the author marks it as not for real use.
How popular is AngstromDB?
AngstromDB ranks #662 of 844 databases on the WhichDB Score (0.2/100), and #129 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

