Skip to content

Detect and address performance degradation in discovery operations with large contact tables #5972

@ElFantasma

Description

@ElFantasma

Description

When the number of contacts in the peer table grows large, we may experience performance degradation in key discovery operations. We need to detect and address any bottlenecks.

Affected operations

  • Lookup - Finding nodes closest to a target
  • Revalidate - Checking liveness of existing contacts
  • Prune - Removing stale/unresponsive contacts
  • Filtering contacts - Selecting contacts by protocol (discv4/discv5)

Tasks

  • Add metrics to measure time elapsed on the affected operations
  • Investigate and fix any performance degradation detected

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1Ethereum clientp2pIssues related to p2p network

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions