go-spacemesh icon indicating copy to clipboard operation
go-spacemesh copied to clipboard

Bandwidth limiting in go-spacemesh

Open ivan4th opened this issue 1 year ago • 0 comments

Description

In some cases, go-spacemesh may consume too much bandwidth, overwhelming users' network connections. While this needs to be fixed by improving pubsub and sync mechanisms, the users need to be able to prevent such occurrences even at the cost of some temporary go-spacemesh network protocol inefficiences. There should be the following controls:

  • global bandwidth limit on all of the p2p streams
  • per-peer bandwidth limit

Some implementation ideas: https://github.com/juju/ratelimit

ivan4th avatar Jun 05 '24 14:06 ivan4th