talira

Highly scalable, low latency, easy to use distributed transactional key-value database

open sourceApache-2.0self-hostablefree

TiKV is an open source distributed key-value database written in Rust, with both a raw key-value API and an ACID transactional API. Data is split into Raft groups stored in RocksDB, and the Placement Driver shards and rebalances them automatically, so a cluster scales out to more than 100 TB; transactions follow a Percolator-like model with snapshot isolation and externally consistent reads and writes, after Google Spanner. PingCAP created it as the storage layer of TiDB, and it is a graduated project of the Cloud Native Computing Foundation, with clients for Go, Java, Rust, Python, C++ and Node.js and deployment through TiUP or the TiKV Operator on Kubernetes.

Problems it solves

  • I need a key-value store that scales horizontally to hundreds of terabytes
  • distributed transactions with ACID guarantees across a sharded key-value store
  • metadata storage for an object store or file system that has to stay consistent
  • a storage layer to build my own distributed database on top of
  • key-value reads with sub-millisecond latency at large scale
  • automatic sharding and rebalancing as my cluster grows
  • a Spanner-like consistent store I can run on my own servers
  • choose between raw key-value speed and transactional consistency per workload

Features

  • raw key-value API and ACID transactional API
  • Raft consensus with data stored in RocksDB
  • automatic sharding and data migration by the Placement Driver
  • snapshot isolation and externally consistent distributed transactions
  • scales to 100+ TB
  • clients for Go, Java, Rust, Python, C++ and Node.js
  • deploy with TiUP or the TiKV Operator on Kubernetes

Capabilities

Has an APIplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what TiKV does.

  1. FoundationDB The open source, distributed, transactional key-value store
  2. etcd A distributed, reliable key-value store for the most critical data of a distributed system
  3. RocksDB Embeddable persistent key-value store for fast storage

Compare TiKV with the top 3