Skip to content

Commit

Permalink
high-concurrency-best-practices: fix the support info of follower re…
Browse files Browse the repository at this point in the history
…ad (#6856)
  • Loading branch information
qiancai authored Aug 13, 2021
1 parent 43e24c3 commit 76a6118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best-practices/high-concurrency-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ aliases: ['/docs-cn/dev/best-practices/high-concurrency-best-practices/','/docs-

如果要解决以上挑战,需要从 TiDB 数据切分以及调度的原理开始讲起。这里只作简单说明,详情可参阅[谈调度](https://pingcap.com/blog-cn/tidb-internal-3/)

TiDB 以 Region 为单位对数据进行切分,每个 Region 有大小限制(默认 96M)。Region 的切分方式是范围切分。每个 Region 会有多副本,每一组副本,称为一个 Raft Group。每个 Raft Group 中由 Leader 负责执行这块数据的读 & 写(TiDB 即将支持 [Follower-Read](https://zhuanlan.zhihu.com/p/78164196))。Leader 会自动地被 PD 组件均匀调度在不同的物理节点上,用以均分读写压力。
TiDB 以 Region 为单位对数据进行切分,每个 Region 有大小限制(默认 96M)。Region 的切分方式是范围切分。每个 Region 会有多副本,每一组副本,称为一个 Raft Group。每个 Raft Group 中由 Leader 负责执行这块数据的读 & 写(TiDB 支持 [Follower-Read](/follower-read.md))。Leader 会自动地被 PD 组件均匀调度在不同的物理节点上,用以均分读写压力。

![TiDB 数据概览](/media/best-practices/tidb-data-overview.png)

Expand Down

0 comments on commit 76a6118

Please sign in to comment.