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
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.
The text was updated successfully, but these errors were encountered:
Makes sense only LevelDBLog, not in FileBasedLog (latter has separate mem-mapped files for log entries and metadata). Also, LevelDBLog might get phased out in the future anyway
When a follower gets an
AppendEntriesRequest
, it appends the entries to its log (1 write to disk) and then tries movingcommit-index
(1 write to disk).If we could merge these 2 operations into 1 (e.g. using the same
WriteBatch
inLevelDBLog
), then we could double the performance of anAppendEntriesRequest
at the followers.The text was updated successfully, but these errors were encountered: