We use the staggered broadcast technique when relaying gossip messages to reduce message amplification. In our basic simulation, it brings amplification down from 3.5 to 1.5.
The idea is simply to accumulate gossip messages and relay them after a fixed interval of time. This has two effects:
- Old messages that haven’t been sent yet are replaced by newer ones, so only one message is sent after the delay.
- Because nodes have their own intervals, messages are not all sent at the same time, which reduces the chance of messages crossing paths.
For now we only turn this on for inventory messages, since this is the least likely to be noticed by users, and also the most problematic currently.
We use the staggered broadcast technique when relaying gossip messages to reduce message amplification. In our basic simulation, it brings amplification down from 3.5 to 1.5.
The idea is simply to accumulate gossip messages and relay them after a fixed interval of time. This has two effects:
- Old messages that haven’t been sent yet are replaced by newer ones, so only one message is sent after the delay.
- Because nodes have their own intervals, messages are not all sent at the same time, which reduces the chance of messages crossing paths.
For now we only turn this on for inventory messages, since this is the least likely to be noticed by users, and also the most problematic currently.
Update.
Rebase.