ca29e9b0d8
Adds "topic" support, allowing a node to subscribe to one or more types of application payloads independently. A gossip node is optionally initialised with a set of topics (defaulting to "all topics") and this set of topic interests is propagated throughout the cluster via the usual PEX mechanism, alongside the existing connection & identity information. When broadcasting an application payload, the sender only transmits it to nodes that had registered an interest in this payload type. This prevents wasted network bandwidth and CPU for all nodes, and allows multiple, distinct payload types to be propagated independently to keep subsystems that rely on gossip decoupled from each other (no giant, brittle payload enum type). |
||
---|---|---|
.. | ||
smoke.rs |