Skip to content

Separate Leaders and Followers into different raft workers. #674

Description

@coocood

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions