Repository navigation
raft: add simple leader load balancing or sticky leadership #391
mmaslankaprv
started this conversation in
Ideas
Replies: 4 comments
|
we have partition placement now, and we have leadership transfer mechanism. i think we can do something simple like setting a preferred leader bit and then making leadership be a slow controlled process. how do we set this bit? i'm not sure we have to literally set a bit, it kinda seems like if the partition assignments are sufficiently random then each node could independently inspect the assignments and use a heuristic like the first broker in the assignment list is the preferred leader. |
0 replies
|
I have basic implementation of priority based semi-deterministic leader election working in redpanda. |
0 replies
|
Migrated from https://github.com/redpanda-data/redpanda/discussions/255. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When topics are created or cluster is restarted one of the nodes may be a leader for most of the partitions. We need simple load balancing/leadership stickiness to make sure that the whole cluster is evenly loaded and there are no bottlenecks.
All reactions