Skip to content
FossShelf
Home / Categories / For Data Engineers

TiKV

Distributed key-value store with ACID transactions at scale

Replaces Amazon Dynamodb, Azure Cosmos Db, Google Cloud Firestore In Datastore Mode

16.96K starsApache-2.0reviewed 22 Jan 2025last commit 16 Nov 2026
Screenshot of TiKV

Who it's for

Infrastructure teams building distributed databases

Use TiKV when you need a consistent key-value storage layer and have the expertise to operate distributed systems.

Skip if you need a turnkey SQL database for application developers.

Teams evaluating TiDB storage internals

TiKV helps platform engineers understand and tune the storage layer behind TiDB workloads.

Skip if your database problem can be solved with a managed relational service.

The problem

Single-node key-value stores are simple, but they become risky when data must survive node failures, scale horizontally, and keep strong consistency. Teams can shard manually or depend on a managed cloud database, but both choices add operational or vendor constraints. Distributed transactional storage is hard because replication, consensus, rebalancing, and failure recovery must work together. Teams need a storage engine that already solves those distributed systems problems.

How it works

Distributed key-value storage

Splits data across nodes and regions so storage can scale horizontally instead of depending on one server.

Raft-based replication

Uses Raft consensus for replicated data and strong consistency across failures.

Transactional API foundation

Provides a transactional key-value layer used by TiDB and useful for systems that need consistent distributed storage.

Features

  • Distributed key-value storage
  • Raft-based replication
  • Transactional API foundation

Recommended for this setup

Strengths

  • Battle-tested inside TiDB: TiKV is not only a research project; it serves as the storage layer for TiDB deployments.
  • Apache-2.0 Rust codebase: The permissive license and Rust implementation make TiKV attractive for infrastructure teams evaluating distributed storage internals.

Trade-offs

  • Not an application database by itself: Most product teams should use TiDB or another higher-level database. TiKV is an infrastructure component that requires distributed systems skill to operate directly.

Tech stack

Languages
Rust, Python, Perl, Shell, Makefile, C, Dockerfile
Frameworks
—
Databases
—
Tooling
AWS

FAQ

Is TiKV open source?

Yes. TiKV is open source under the Apache-2.0 license.

What is TiKV used for?

TiKV is used as a distributed transactional key-value store and as the storage layer for TiDB.

How does TiKV compare to DynamoDB?

DynamoDB is a managed AWS key-value and document database. TiKV is an open source distributed storage engine that teams operate themselves or use through TiDB.

Similar tools

More in Data Engineers