superfly/corrosion

Explore priority broadcasts

クローズ

#148 opened on 2024/01/31

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (83 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (1,817 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Broadcasts are all treated the same in Corrosion right now. However, nodes will broadcast their local changes to neighboring nodes immediately instead of randomly and eventually.

A concept of "priority" could be added for broadcasts to neighboring nodes.

When a node receives a priority broadcast, it should apply it immediately instead of queueing it to later batch insert it with other changes.

This is useful for faster eventual consistency "where it matters". It's likely a client interacting with a Corrosion node will be affecting data required on another node in close proximity.

コントリビューターガイド