TiKV is an open-source, distributed, and transactional key-value database. Unlike traditional NoSQL systems, TiKV provides both classical key-value APIs and transactional APIs with ACID compliance. Built in Rust and powered by Raft, TiKV was originally created by PingCAP to complement TiDB, a distributed HTAP database compatible with the MySQL protocol.
TiKV draws inspiration from several great distributed systems from Google, such as BigTable, Spanner, and Percolator, along with the latest advancements in academia like the Raft consensus algorithm.
Geo-Replication: TiKV uses Raft and the Placement Driver to support geo-replication.
Horizontal Scalability: With PD and well-designed Raft groups, TiKV excels in horizontal scalability, easily scaling to 100+ TBs of data.
Consistent Distributed Transactions: Similar to Google's Spanner, TiKV supports externally consistent distributed transactions.
Coprocessor Support: Similar to HBase, TiKV implements a coprocessor framework for distributed computing.
Integration with TiDB: TiKV and TiDB work together seamlessly to provide a highly scalable database solution with ACID transactions, support for RDBMS, and NoSQL design patterns.
For instructions on deployment, configuration, and maintenance of TiKV, see the TiKV documentation. For a deeper understanding of the concepts and designs behind TiKV, visit Deep Dive TiKV.