Consultation Post: Which Monitoring Chart to Look at for Network Bandwidth Usage Between TiKVs

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 咨询贴:TiKV之间的网络带宽占用看那个监控图

| username: TiDBer_yyy

[TiDB Usage Environment] Production Environment
[TiDB Version] 7.1.0
[Reproduction Path] None
[Encountered Problem: Problem Phenomenon and Impact]

Cross-cloud migration of TiDB cluster, want to check the network bandwidth situation of all region/raft synchronized replicas.

Can Raft propose speed be used?

Additionally: Can Write flow: traffic of different write operations cover the network bandwidth situation of Raft synchronization (replica stage)?

| username: 芮芮是产品 | Original post link

It feels like the performance is very poor, 8MB.

| username: heiwandou | Original post link

8m network

| username: CuteRay | Original post link

This monitoring cannot fully reflect the network traffic between the servers where the TiKV nodes are located. This monitoring is not easy to check; I remember it needs to be calculated.

| username: TiDBer_yyy | Original post link

Can “write flow” represent the replica stage of Raft? The official explanation is not very clear.

| username: 芮芮是产品 | Original post link

Rate limiting is used to prioritize queries.

| username: Soysauce520 | Original post link

The network monitoring of node exporter can view the overall situation.

| username: TiDB_C罗 | Original post link

TiDB inbound traffic = TiKV outbound traffic + business request traffic
TiKV outbound traffic = TiDB outbound traffic + other region synchronization traffic

TiKV outbound traffic - TiDB inbound traffic = other region synchronization traffic
Not sure if this calculation is correct
Or maybe use iftop to check?

| username: zxgaa | Original post link

I feel that this monitoring is not clear, I still prefer to check directly on the server.

| username: TiDBer_yyy | Original post link

What you see on the server should be a mix of read and write traffic. It’s not possible to determine the bandwidth of Raft’s write traffic separately.

| username: Fly-bird | Original post link

Directly check on the server, you can see both the input and output.

| username: TiDBer_小阿飞 | Original post link

Go check if there’s one you use?

| username: TiDBer_yyy | Original post link

Found it: TiKV 监控指标详解 | PingCAP 文档中心

| username: 像风一样的男子 | Original post link

You can set up server monitoring, which will provide more accurate disk read and write data.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.