Skip to content

Evaluate Increased Light Node Connection Limits #5556

Description

@bcsorvasi

Context

We want to investigate the impact of increasing the connection capacity of Light Nodes and better understand the practical limits of the current Bee and go-libp2p implementation.

There are two potential approaches:

Option 1 Safe Mode: Increase Light Refresh Rate

Keep the current connection limit unchanged, but increase the allowed light refresh rate by approximately 4x.

This would allow us to increase the effective capacity of Light Nodes without changing the underlying connection limit.

This approach should have a relatively low development cost, requiring approval from Viktor and changes to a few configuration variables in the Bee code.

Option 2 Increase the Light Connection Limit

A more interesting approach from a testing perspective would be to increase the Light Node connection limit from 100 to 400 connections.

The main goal is to understand how Bee and go-libp2p behave when maintaining a significantly higher number of concurrent connections.

Currently, we don't know:

  • What practical connection limits or constraints go-libp2p imposes.
  • How maintaining an additional ~300 connections affects Bee node performance.
  • Whether 400 concurrent connections have any significant impact on stability or resource usage.
  • Whether there are other unexpected side effects of increasing the connection limit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

seenIssue has been reviewed as part of the weekly issue rotation.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions