Repository navigation
[raft] Protobuf encoding of proposals - #1765
Draft
MariemBaccari wants to merge 1 commit into
Draft
MariemBaccari wants to merge 1 commit into
MariemBaccari wants to merge 1 commit into
Conversation
MariemBaccari
force-pushed
the
proposal_binary_encoding
branch
2 times, most recently
from
October 8, 2026 10:01
d9a1f8f to
0fa1ec8
Compare
MariemBaccari
marked this pull request as ready for review
October 8, 2026 12:41
MariemBaccari
marked this pull request as draft
October 8, 2026 13:35
MariemBaccari
force-pushed
the
proposal_binary_encoding
branch
7 times, most recently
from
October 9, 2026 09:34
dc1f2e9 to
e09b2bb
Compare
MariemBaccari
marked this pull request as ready for review
October 9, 2026 11:50
MariemBaccari
force-pushed
the
proposal_binary_encoding
branch
from
October 9, 2026 12:25
e09b2bb to
1f46e33
Compare
MariemBaccari
marked this pull request as draft
October 9, 2026 12:47
MariemBaccari
force-pushed
the
proposal_binary_encoding
branch
from
October 9, 2026 12:51
1f46e33 to
47af5a5
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR extracts the work of #1587 to implement protobuf based encoding of the proposal envelope (part of #1709). The previous PR used binary encoding but protobuf is a simplification that only adds a few bytes to each payload.
Follow-up PRs will implement compression and custom encoding for the payload values which will further reduce the payload size.
A small experiment shows the size difference between the json and protobuf encodings: