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

autorelay: select relays based on latency

Open vyzo opened this issue 6 years ago • 4 comments

With the planned deployment of relay infrastructure, it will make sense to select relays based on minimum latency.

Proposed action:

  • Modify the autorelay relay selection strategy to select based on ping latency.

vyzo avatar Jan 23 '19 10:01 vyzo

cc @Stebalien

vyzo avatar Jan 23 '19 10:01 vyzo

That sounds like a decent initial approach (we can try other benchmarks later).

Stebalien avatar Jan 23 '19 11:01 Stebalien

The problem here is that we don't want to flood relay nodes that happen to be very well connected to many other nodes with reservation requests.

marten-seemann avatar Jun 28 '23 02:06 marten-seemann