The features of TiKV

TiKV offers the following key features:

Replication and rebalancingWith the Placement Driver and carefully designed Raft groups, TiKV excels in horizontal scalability and can easily scale to over 100 terabytes of data.
High fault tolerance and auto-recoveryTiKV applies the Raft consensus algorithm to replicate data to multiple nodes, thus achieving high fault tolerance.
TTL (Time to Live) on RawKVRawKV supports TTL to automatically clear expired Key-Value pairs.
CAS (Compare And Swap) on RawKVRawKV supports the compare-and-swap operation to achieve synchronization in multi-threading.
Distributed TransactionSimilar to Google Spanner, TiKV supports externally consistent distributed transactions.