Skip to main content

Crate saorsa_gossip_crdt_sync

Crate saorsa_gossip_crdt_sync 

Source
Expand description

Production-Ready Delta-CRDT synchronization with anti-entropy

Implements:

  • Delta-CRDTs for bandwidth efficiency
  • OR-Set with proper concurrent add/remove semantics
  • LWW-Register with vector clocks
  • Anti-entropy reconciliation
  • IBLT reconciliation for large sets (future)

Structs§

AntiEntropyManager
Anti-Entropy Manager for periodic CRDT reconciliation
CanonicalRetainedOrSet
Deterministic, bincode-layout-compatible retained state for an OrSet.
LwwRegister
LWW Register with Vector Clock
OrSet
Production-ready OR-Set (Observed-Remove Set)
OrSetDelta
Delta for OR-Set (changes since a version)
VectorClock
Vector Clock for causality tracking

Enums§

CrdtType
CRDT types

Traits§

DeltaCrdt
Delta-CRDT trait for bandwidth-efficient synchronization

Type Aliases§

UniqueTag
Unique tag for OR-Set elements: (PeerId, sequence_number)