-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move event hashing out of balloon internals #136
Conversation
BenchmarkRaftAdd with b.N = 2000000 HASHING OUTSIDE BALLOONevent := utilrand.Bytes(128)| => du -sh /var/tmp/raft-test/node1/raft/wal/*176M /var/tmp/raft-test/node1/raft/wal/000003.log event := utilrand.Bytes(2048)| => du -sh /var/tmp/raft-test/node1/raft/wal/*176M /var/tmp/raft-test/node1/raft/wal/000003.log HASHING INSIDE BALLOON (MASTER BRANCH)event := utilrand.Bytes(128)| => du -sh /var/tmp/raft-test/node1/raft/wal/*224M /var/tmp/raft-test/node1/raft/wal/000003.log event := utilrand.Bytes(2048)| => du -sh /var/tmp/raft-test/node1/raft/wal/*256M /var/tmp/raft-test/node1/raft/wal/000003.log |
Move event hashing out of balloon internals Former-commit-id: 6340937
Move event hashing out of balloon internals Former-commit-id: 6340937
Move hashing from balloon internals (balloon.go) to Raft (raft.go), just before inserting the command to the WriteAheadLog.
Others: