You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Even after #514, there is still some O(n^2) complexity remaining in topology gossip, namely in the period gossip. This currently sends the gossip data to all neighbours. So we have n peers performing n-1 sends.
Traditional gossip protocols only send gossip to a random subset (of, usually log(n) size) of neighbours. However, this assumes a relatively regular topology. With highly irregular topologies, especially those containing "bottleneck" links (where one set of peers can reach another only via a very small number of links), propagation delays are prohibitive.
That's why we decided to gossip to all neighbours.
But we can do better. Peers have knowledge of the topology and hence know which links are bottlenecks. We can use that information to select random neighbours for gossip communication, with the random distribution skewed towards the bottleneck links.
The text was updated successfully, but these errors were encountered:
It turns out that peers already effectively calculate a topology-sensitive probability distribution for selecting neighbours: the unicast topology. For every peer this tells us which of our neighbours we ought to send a message to in order to reach that peer. The probability distribution of the neighbour values is exactly what we are looking for - neighbours at the other end of a bottleneck link will appear in it more frequently than others.
Even after #514, there is still some O(n^2) complexity remaining in topology gossip, namely in the period gossip. This currently sends the gossip data to all neighbours. So we have n peers performing n-1 sends.
Traditional gossip protocols only send gossip to a random subset (of, usually log(n) size) of neighbours. However, this assumes a relatively regular topology. With highly irregular topologies, especially those containing "bottleneck" links (where one set of peers can reach another only via a very small number of links), propagation delays are prohibitive.
That's why we decided to gossip to all neighbours.
But we can do better. Peers have knowledge of the topology and hence know which links are bottlenecks. We can use that information to select random neighbours for gossip communication, with the random distribution skewed towards the bottleneck links.
The text was updated successfully, but these errors were encountered: