Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Beginner-Friendly Projects
  3. TiKV

TiKV

Apache-2.0Rustv8.5.6

A distributed, transactional key-value database built in Rust, offering ACID compliance and horizontal scalability.

Visit WebsiteGitHubGitHub
16.7k stars2.3k forks0 contributors

What is TiKV?

TiKV is a distributed transactional key-value database built in Rust, providing ACID-compliant transactions and horizontal scalability. It solves the problem of maintaining data consistency and availability in large-scale distributed environments, serving as the storage layer for TiDB and other systems. Originally created by PingCAP, it supports geo-replication and coprocessor-based distributed computing.

Target Audience

Developers and organizations building scalable, consistent distributed systems, such as cloud-native applications, large-scale databases, or platforms requiring high availability and transactional guarantees. It is particularly relevant for those using or integrating with TiDB.

Value Proposition

Developers choose TiKV for its strong consistency, scalability, and open-source nature, offering a reliable alternative to proprietary distributed databases. Its integration with TiDB and support for ACID transactions make it a compelling choice for hybrid transactional/analytical workloads.

Overview

Distributed transactional key-value database, originally created to complement TiDB

Use Cases

Best For

  • Building scalable distributed storage layers for databases like TiDB
  • Implementing ACID-compliant key-value stores in cloud-native applications
  • Deploying geo-replicated data systems with strong consistency guarantees
  • Developing systems requiring horizontal scalability to petabytes of data
  • Creating platforms that need both NoSQL and transactional APIs
  • Integrating with Rust-based infrastructure for high-performance storage

Not Ideal For

  • Simple, single-node key-value storage needs where Redis or embedded databases would suffice
  • Projects requiring out-of-the-box SQL support without integrating TiDB
  • Teams with limited DevOps resources for managing complex distributed clusters
  • Applications needing lightweight, low-latency caching without transactional guarantees

Pros & Cons

Pros

Geo-Replication with Raft

Uses the Raft consensus algorithm and Placement Driver (PD) to support data replication across geographical locations, ensuring high availability and strong consistency as highlighted in the README.

Horizontal Scalability

Easily scales to 100+ TBs of data through PD and carefully designed Raft groups, making it suitable for large-scale distributed systems, per the README's emphasis.

ACID-Compliant Transactions

Provides externally-consistent distributed transactions similar to Google's Spanner, offering data integrity for complex workloads, as noted in the feature list.

Coprocessor Framework

Implements a coprocessor framework for distributed computing, akin to HBase, which enhances performance for analytical queries without moving data, as described in the README.

Cons

Complex Deployment Overhead

Requires managing multiple components like PD and TiKV nodes, making setup and maintenance non-trivial, as evidenced by the multi-step quick start guides in the README.

Limited Native SQL Support

While TiKV provides key-value APIs, full SQL functionality depends on TiDB integration, adding an extra layer for applications needing relational queries, which the README acknowledges as optimized for TiDB.

Resource Intensive for Small Scales

Designed for petabyte-scale systems, it may be overkill for small datasets, consuming more resources than simpler key-value stores like etcd or Redis.

Frequently Asked Questions

Quick Stats

Stars16,709
Forks2,283
Contributors0
Open Issues1,311
Last commit3 days ago
CreatedSince 2015

Tags

#hacktoberfest#rocksdb#raft-consensus#tidb#horizontal-scaling#cncf#key-value-store#consensus#rust#key-value#cloud-native#acid-transactions#distributed-database#raft#distributed-transactions

Built With

R
Raft
R
Rust
R
RocksDB
D
Docker

Links & Resources

Website

Included in

Beginner-Friendly Projects84.2kRust56.6k
Auto-fetched 22 hours ago

Related Projects

nushellnushell

A new type of shell

Stars39,688
Forks2,155
Last commit1 day ago
ServoServo

Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.

Stars37,010
Forks3,658
Last commit23 hours ago
SurrealDBSurrealDB

A scalable, distributed, collaborative, document-graph database, for the realtime web

Stars32,349
Forks1,279
Last commit3 days ago
QdrantQdrant

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

Stars31,902
Forks2,329
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub