libp2p / go-libp2p-pubsub

The PubSub implementation for go-libp2p
https://github.com/libp2p/specs/tree/master/pubsub
Other
309 stars 178 forks source link

bug: Newly added nodes receive a flood of messages that were published hours ago. #550

Closed sarvalabs-rahul closed 7 months ago

sarvalabs-rahul commented 8 months ago

We have a libp2p network of 600 nodes, where nodes publish messages on "BLOCK" topic. When a fresh node joins the network and subscribes to this topic, it gets older messages, a behaviour that is not seen when the network size is under 300 nodes.

I've made adjustments to the GossipSub parameters as follows: Dlo: 6 D: 8 Dhi : 12 GossipFactor: 0.15 HeartbeatInterval: 600 milliseconds.

@vyzo @Stebalien Is this the expected behaviour, or some misconfiguration from our side ?