Kai
discontinuedby Kai project (SourceForge, Japan) · since 2008 · also known as Kai key-value store, kai.sf.net
Early open-source Erlang implementation of Amazon's Dynamo design, with a memcached-compatible API.
discontinued. Last release 0.4.0 in May 2009; no development since. Dynamo-style successors include Riak KV, Apache Cassandra and ScyllaDB.
Overview
Kai was one of the first open-source clones of Amazon's Dynamo paper, started in Japan in May 2008 and hosted on SourceForge. Written in Erlang as a set of cooperating actor processes, it spread keys over a consistent-hashing ring, replicated each value to a configurable number of nodes, used quorum reads and writes (which could be set for strong consistency), repaired membership through an epidemic protocol, and spoke the memcached protocol so existing clients could connect. It was deployed in production at goo home, a large Japanese social network. Four releases came out, the last (0.4.0) in May 2009, before activity stopped; Riak and Cassandra carried the Dynamo approach forward.
Strengths & trade-offs
Strengths
- +Faithful, readable Erlang implementation of Dynamo's core ideas
- +Memcached protocol meant any memcached client could use it
- +Quorum parameters tunable per deployment, up to strong consistency
- +Proven in production at a large Japanese social network
Trade-offs
- −Unmaintained since 2009
- −Only basic get/set/delete; no range queries or secondary indexes
- −Small, largely Japanese-language community
Great for
- +Studying Dynamo-style replication in Erlang
- +Historical reference for early NoSQL key-value stores
Think twice for
- −New production systems
- −Workloads needing queries beyond key lookup
Capabilities
Native or official first-party support · 1 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- Native
- Multi-region
- No
- Transactions
- None
- Consistency
- Eventual, Tunable
- Schema
- Schemaless
- Architecture
- Distributed, Client server
- Query languages
- memcached protocol (get/set/delete)
Consistent hashing with replication; deployed on clusters serving a 10M-user service.
Deployment
Ecosystem
Alternatives to Kai
Erlang-based, Dynamo-style key-value store built to stay up through ugly failures.
kai vs riak-kv →Masterless wide-column database built for always-on writes across data centers.
kai vs apache-cassandra →C++ rewrite of Cassandra with shard-per-core design; also speaks the DynamoDB API.
kai vs scylladb →Flash-optimized distributed key-value and document database for predictable sub-millisecond latency at scale.
kai vs aerospike →The original multi-threaded, dead-simple distributed memory cache for key-value blobs.
kai vs memcached →Netflix's memcached-based distributed cache with zone-aware replication, built for AWS microservices.
kai vs evcache →Kai FAQ
What is Kai?
Kai is a key-value database by Kai project (SourceForge, Japan), first released in 2008. Kai was one of the first open-source clones of Amazon's Dynamo paper, started in Japan in May 2008 and hosted on SourceForge. Written in Erlang as a set of cooperating actor processes, it spread keys over a consistent-hashing ring, replicated each value to a configurable number of nodes, used quorum reads and writes (which could be set for strong consistency), repaired membership through an epidemic protocol, and spoke the memcached protocol so existing clients could connect. It was deployed in production at goo home, a large Japanese social network. Four releases came out, the last (0.4.0) in May 2009, before activity stopped; Riak and Cassandra carried the Dynamo approach forward.
Is Kai open source?
Yes. Kai is open source. License: Apache License 2.0.
Does Kai support ACID transactions?
No. Kai does not provide ACID transactions; its consistency model is eventual, tunable.
Does Kai scale horizontally?
Kai scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at medium scale (≤ 10 TB).
How can I run Kai?
You can self-host it.
What is Kai best for?
Kai is a strong fit for studying Dynamo-style replication in Erlang and historical reference for early NoSQL key-value stores. Think twice for new production systems.
What are the best alternatives to Kai?
Common alternatives to Kai include Riak KV, Apache Cassandra, ScyllaDB, Aerospike and Memcached. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Kai still maintained?
Kai is discontinued. Last release 0.4.0 in May 2009; no development since. Dynamo-style successors include Riak KV, Apache Cassandra and ScyllaDB.
How popular is Kai?
Kai has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.


