dusk-network / rusk

The reference Dusk platform implementation and tools
Mozilla Public License 2.0
165 stars 60 forks source link

node: Mitigate the impact of offline nodes over message propagation #1085

Open goshawk-3 opened 1 year ago

goshawk-3 commented 1 year ago

Summary

On having offline nodes for a longer period, we rely solely on kadcast redundancy factor for complete a msg broadcast. However, as suggested by @herr-seppia , we may consider updating the default bucket_ttl=30m in order to re-build the internal routing table more frequently, wiping out any offline/(not responding) peer.

Possible solution design or implementation

A more naive alternative could be to increase the redundancy factor in kadcast but this might increase the overall bandwidth significantly.

Additional context

A benchmark test should be performed to ensure that bucket_ttl change does not impact negatively overall performance.

HDauven commented 7 months ago

Consider changing it to 10 minutes even