You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only a single raft worker process raft messages, the workload for leaders and followers are very different.
Leaders takes more time to handle messages, Append messages are sent before data persistence.
Followers takes less time to handle messages, AppendResponse messages are sent after data persistence.
If we separate leaders and followers, they don't need to wait for each other to finish, the latency would be lower, the resource utilization would be higher.
The text was updated successfully, but these errors were encountered:
If a peer role changed after processed a raft message, we wrap the peer to a message and send it to the other worker.
If a message is sent to a worker of a different role, we forward the message to the other worker.
Currently only a single raft worker process raft messages, the workload for leaders and followers are very different.
Leaders takes more time to handle messages, Append messages are sent before data persistence.
Followers takes less time to handle messages, AppendResponse messages are sent after data persistence.
If we separate leaders and followers, they don't need to wait for each other to finish, the latency would be lower, the resource utilization would be higher.
The text was updated successfully, but these errors were encountered: