Skip to content

Introduce smart dialing in js-libp2p #2010

@p-shahi

Description

@p-shahi
Member

Goal

Reduce the number of outbound spurious dials that result in failed connections. This is especially a problem when dialing WebTransport addresses in Chromium where we often hit the 64 session limit #1896

Ref: notes on smart dialing in go-libp2p https://github.com/libp2p/go-libp2p/releases/tag/v0.29.0

### Tasks
- [x] fix(libp2p): only dial one address at a time for peers #2028
- [x] fix(libp2p): sort addresses to dial as public, then relay #2031
- [x] Increase no-redial threshold in browsers to greater than the WebTransport error timeout (fixed in #2028)
- [ ] https://github.com/libp2p/js-libp2p/pull/2033
- [ ] https://github.com/libp2p/js-libp2p/issues/2114
- [ ] https://github.com/libp2p/js-libp2p/issues/2150

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P0Critical: Tackled by core team ASAPkind/enhancementA net-new feature or improvement to an existing feature

Type

No type

Projects

Status

🎉Done

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @achingbrain@dhuseby@maschad@p-shahi

      Issue actions

        Introduce smart dialing in js-libp2p · Issue #2010 · libp2p/js-libp2p