From c4db9766bb1f03667e817b9e3a746c2b728e0609 Mon Sep 17 00:00:00 2001 From: Aolin Date: Wed, 31 May 2023 01:06:52 +0800 Subject: [PATCH] use sentence case for heading2 Signed-off-by: Aolin --- tikv-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tikv-overview.md b/tikv-overview.md index 5934f8d8cd1fb..0ab4816dcfe97 100644 --- a/tikv-overview.md +++ b/tikv-overview.md @@ -7,7 +7,7 @@ summary: An overview of the TiKV storage engine. TiKV is a distributed and transactional key-value database, which provides transactional APIs with ACID compliance. With the implementation of the [Raft consensus algorithm](https://raft.github.io/raft.pdf) and consensus state stored in RocksDB, TiKV guarantees data consistency between multiple replicas and high availability. As the storage layer of the TiDB distributed database, TiKV provides the read and write service, and persist the written data from applications. It also stores the statistics data of the TiDB cluster. -## Architecture Overview +## Architecture overview TiKV implements the multi-raft-group replica mechanism based on the design of Google Spanner. A Region is a basic unit of the key-value data movement and refers to a data range in a Store. Each Region is replicated to multiple nodes. These multiple replicas form a Raft group. A replica of a Region is called a Peer. Typically there are 3 peers in a Region. One of them is the leader, which provides the read and write services. The PD component balances all the Regions automatically to guarantee that the read and write throughput is balanced among all the nodes in the TiKV cluster. With PD and carefully designed Raft groups, TiKV excels in horizontal scalability and can easily scale to store more than 100 TBs of data.