Expand description
Plumtree-based pub/sub dissemination
Implements:
- EAGER push along spanning tree
- IHAVE lazy digests to non-tree links
- IWANT pull on demand
- PRUNE/GRAFT for tree optimization
- Anti-entropy reconciliation (placeholder for future)
§Architecture
Each topic maintains two sets of peers:
- Eager peers (tree): Forward full messages immediately
- Lazy peers (gossip): Send only message IDs (IHAVE)
The tree self-optimizes via duplicate detection (PRUNE) and pull requests (GRAFT).
Structs§
- Gossip
Message - Gossip message wrapper
- Plumtree
PubSub - Plumtree pub/sub implementation
Traits§
- PubSub
- Pub/sub trait for message dissemination