Coalesced heartbeat #340
Closed
akiradeveloper
started this conversation in
Ideas
Replies: 2 comments
-
I don't know this is correct. Totally, there are LK heartbeats periodically. Example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Raft node contains multiple Raft processes, each belongs to some lane or shard.
A Raft process periodically sends heartbeat to followers if it is a leader. Now, let's think about optimization by batching heartbeats.
If two Raft processes in node A both send heartbeat to node B, there is a chance to coalesce these heartbeats.
Math: Let's assume there are N nodes and L lanes and processes are evenly distributed (K per lane), what is the effect of this optimization?
Beta Was this translation helpful? Give feedback.
All reactions