superfly/corrosion

Explore priority broadcasts

已關閉

#148 建立於 2024年1月31日

 (1 則留言) (0 個反應) (0 位負責人)Rust (83 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (1,817 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南