TiKV
What it is
TiKV is an open-source distributed transactional key-value database that provides a shared storage layer across nodes. It offers separate RawKV and transactional key-value APIs, with ACID semantics on the transactional side; both APIs cannot use the same keyspace. The project describes deployments reaching petabyte scale and trillions of rows. Raft groups replicate data for fault tolerance, while horizontal scaling and rebalancing support cluster growth. RawKV includes time-to-live expiration and compare-and-swap operations. Client libraries are listed for Java, Go, Rust, Python, and C++; Java and Go are marked stable, while the others are unstable. Documentation describes TLS connections and configurable encryption at rest, including AES methods. TiKV is self-hosted under the Apache 2.0 license and supports Linux, macOS, Windows, gRPC, RawKV API, and TxnKV API. It was originally created by PingCAP and is a Cloud Native Computing Foundation graduate project.
For and against
For
- Apache 2.0 open-source license
- Raft replication for fault tolerance
- Horizontal scaling and rebalancing
- TTL and compare-and-swap in RawKV
- TLS and configurable encryption at rest
Against
- Raw and transactional APIs cannot share a keyspace
- Rust, Python, and C++ clients are marked unstable
- Self-hosted deployment requires operating the cluster
The verdict
TiKV provides distributed storage with both raw and ACID transactional APIs, plus replication and scaling mechanisms. The keyspace separation rule and uneven client stability should shape implementation plans.
Who it suits
TiKV suits developers and operators building self-hosted distributed storage systems that need replication, clustering, and transactional or raw key-value access.
Plans and prices
TiKV open-source software
Apache 2.0 licensed; self-hosted distributed key-value store
Read 4 Oct 2026 · tikv.org
On the record
- API limitation
- The raw and transactional APIs cannot both be used on the same keyspace.tikv.org · read 4 Oct 2026
- APIs
- TiKV offers a raw key-value API and a transactional key-value API with ACID semantics.tikv.org · read 4 Oct 2026
- Clients
- The documentation lists Java, Go, Rust, Python, and C++ clients; it marks Java and Go stable and Rust, Python, and C++ unstable.tikv.org · read 4 Oct 2026
- Integrations
- The maker lists TiDB, Zetta, Tidis, Titan, and JuiceFS among systems built with or using TiKV.tikv.org · read 4 Oct 2026
- License and governance
- TiKV is Apache 2.0 licensed and is a Cloud Native Computing Foundation graduate project.tikv.org · read 4 Oct 2026
- Maker
- The project page says TiKV was originally created by PingCAP; it does not state a headquarters or founding year for the maker.tikv.org · read 4 Oct 2026
- RawKV features
- RawKV supports time-to-live expiration and compare-and-swap operations.tikv.org · read 4 Oct 2026
- Replication
- TiKV uses Raft groups to replicate data across nodes for fault tolerance and supports horizontal scaling and rebalancing.tikv.org · read 4 Oct 2026
- Scale
- The maker says TiKV supports petabyte-scale deployments spanning trillions of rows.tikv.org · read 4 Oct 2026
- Security
- TiKV documentation describes TLS for network connections and configurable encryption at rest, including AES methods.tikv.org · read 4 Oct 2026
- Support channel
- The community page recommends Slack for general communication and provides a dedicated mailing list for reporting security vulnerabilities.tikv.org · read 4 Oct 2026
- What it does
- TiKV is a distributed transactional key-value database designed to serve as a unified distributed storage layer.tikv.org · read 4 Oct 2026