Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

It becomes increasingly slow to connect a node to an example network #85

Closed
Fraser999 opened this issue May 5, 2015 · 3 comments
Closed

Comments

@Fraser999
Copy link
Contributor

When running a testnet of nodes running crust_node example, it becomes increasing slow to connect a new node to the network.

My suspicion is that the bootstrap list being returned by the beacon node is growing ever larger (and can contain permanently dead nodes from previous runs) and we're attempting to connect to these listed nodes sequentially.

@Fraser999
Copy link
Contributor Author

While I've not really looked at this issue, I have noticed on my travels through Crust that my suspicions above appear to be correct. A failed connect attempt can block for anything from 2 to ~20 seconds.

Issue #91 is also related to this.

A simple change which could perhaps help is to reverse the order of the bootstrap list so that the most recently-seen endpoint is tried first.

@vinipsmaker
Copy link
Contributor

Can you test now that #330 got merged (and a lot of other refactors happened too)? I think we could achieve some speedups by increasing ControlFlow::ParallelLimit, but I still need to investigate.

@vinipsmaker
Copy link
Contributor

Obsolete.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants