Skip to content

Follower: merge appending of entries and moving of commit-index #156

@belaban

Description

@belaban

When a follower gets an AppendEntriesRequest, it appends the entries to its log (1 write to disk) and then tries moving commit-index (1 write to disk).
If we could merge these 2 operations into 1 (e.g. using the same WriteBatch in LevelDBLog), then we could double the performance of an AppendEntriesRequest at the followers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions