Skip to content

feat(p2p): Enable DHT Discovery in Gossipsub #3262

Open
@walldiss

Description

@walldiss

Implementation ideas

Our project utilizes the Gossipsub component for headerSub and fraudSub. The Gossipsub component currently operates with DHT discovery disabled. This configuration severely limits the component's ability to dynamically discover peers, relying instead on a less efficient mechanism: looping over existing connections and negotiating protocols. This approach not only restricts network adaptability but also impacts overall system performance.

  • Limited Peer Discovery: Disabling DHT leads to reliance on static peers, hindering dynamic network adaptation.
  • Network Resilience: The lack of dynamic discovery reduces the network's ability to recover from node failures and adapt to changes.
  • Performance Impact: Without DHT, the network might not utilize resources optimally, affecting scalability and throughput.

Recommendation: Enable DHT discovery in Gossipsub. Benefits include improved peer discovery, enhanced network resilience, and optimized resource usage, leading to better overall network performance and scalability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions