Skip to content

[raft] Possible optimizations#1587

Draft
the-glu wants to merge 20 commits into
interuss:masterfrom
Orbitalize:reduce_raft_payload
Draft

[raft] Possible optimizations#1587
the-glu wants to merge 20 commits into
interuss:masterfrom
Orbitalize:reduce_raft_payload

Conversation

@the-glu

@the-glu the-glu commented Jul 3, 2026

Copy link
Copy Markdown
Member

This PR show a few possible optimization on raft.

It should be spited into dedicated PRs when parents PRs are merged, to be compatible with latest version of the code.

Optimizations are:

  • Proposal encoded with simple encoder
  • Optional compression of proposal above a specfic threshold
  • Smaller encoding of known ovn format
  • Removal of extra information in upsertOperationalIntentReference, moving cells computation into transaction + removing useless keys

This greatly improve performance with latency (around 10x with flightsinsub and 33ms of latency).

@barroco barroco added the dss-raft Relating to the application-layer consensus implemenation based on raft label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dss-raft Relating to the application-layer consensus implemenation based on raft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants