- 30 Jan, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 29 Jan, 2019 10 commits
-
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
This patch introduces an adaptive dial queue that spawns a dynamically sized set of goroutines to preemptively stage dials for later handoff to the DHT protocol for RPC. It identifies backpressure on both ends (dial consumers and dial producers), and takes compensating action by adjusting the worker pool. We start with `DialQueueMinParallelism` number of workers (6), and scale up and down based on demand and supply of dialled peers. The following events trigger scaling: - we scale up when we can't immediately return a successful dial to a new consumer. - we scale down when we've been idle for a while waiting for new dial attempts. - we scale down when we complete a dial and realise nobody was waiting for it. Dialler throttling (e.g. FD limit exceeded) is a concern, as we can easily spin up more workers to compensate, and end up adding fuel to the fire. Since we have no deterministic way to detect this for now, we hard-limit concurrency to `DialQueueMaxParallelism` (20).
-
- 23 Jan, 2019 2 commits
-
-
vyzo authored
Revert "Remove signal bootstrapping"
-
Hector Sanjuan authored
-
- 22 Jan, 2019 3 commits
-
-
Matt Joiner authored
Remove signal bootstrapping
-
Matt Joiner authored
Remove IpfsDHT.BootstrapOnSignal.
-
ZhengQi authored
* add RoutingTable func * fix gofmt
-
- 09 Jan, 2019 1 commit
-
-
Gustvo Chain authored
Both, dht.go and dht_bootstrap.go duplicate the package documentation. The whole block had been moved to doc.go Also query.go provides documentation for query package but now it belongs to dht package, so it's been removed.
-
- 27 Dec, 2018 4 commits
-
-
Steven Allen authored
fix a potential DHT query hang
-
vyzo authored
gx publish 4.4.19
-
vyzo authored
-
Steven Allen authored
Without this, one of the workers may hang when trying to re-grab the rate-limit after dialing. I believe this may be what's causing some of our DHT requests to stall (evidence: massive goroutine buildup on the gateways).
-
- 26 Dec, 2018 2 commits
-
-
vyzo authored
docs: duplicate pkg documentation
-
Dominic Della Valle authored
Also contained in "dht.go" and prints twice in godoc.
-
- 18 Dec, 2018 2 commits
-
-
Hector Sanjuan authored
gx publish 4.4.18
-
Hector Sanjuan authored
-
- 07 Dec, 2018 1 commit
-
-
Steven Allen authored
-
- 03 Dec, 2018 2 commits
-
-
Steven Allen authored
tests: skip key inlining test
-
Steven Allen authored
This has temporarily been disabled due to the changes/issues described in: https://github.com/libp2p/specs/issues/111
-
- 15 Nov, 2018 3 commits
-
-
vyzo authored
Rephrase "betterPeersToQuery" method comment to be less cryptic
-
Marcin Tojek authored
-
Marcin Tojek authored
-
- 10 Nov, 2018 2 commits
-
-
Hannah Howard authored
gx publish 4.4.16
-
hannahhoward authored
-
- 03 Nov, 2018 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 02 Nov, 2018 1 commit
-
-
Steven Allen authored
-
- 24 Oct, 2018 4 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-