Open
Description
Description
Our current relay search is pretty bad.
It just constantly poll our K cluster with some exp-backoff.
The goal of this is to avoid convergence on a few nodes and spread the relaying load more or less evenly on all reachable dhtservers.
However the actual strategy we were supposed to implement is an outward search until success. If no nodes in our K cluster support relaying, it probably will never change.
Maybe a random polling of the DHT is not that bad after all ?
API
Currently this is implemented with a long running task, this would need to be rewriten to be statefull and executing in the libp2p callback.