Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Speed up NAT status assertion time #11

Closed
raulk opened this issue Feb 21, 2019 · 0 comments
Closed

Speed up NAT status assertion time #11

raulk opened this issue Feb 21, 2019 · 0 comments
Assignees

Comments

@raulk
Copy link
Member

raulk commented Feb 21, 2019

Currently it may take in order of minutes to determine our NAT status. This can make the application sit idle for that much time before it can do anything useful, if it needs to make itself reachable.

Some ideas to speed up our NAT assertion time:

  • client-side: parallelise dialback requests.
  • client-side: AutoNAT public status: if we receive a positive answer from one AutoNAT server, roll over only the successful address to remaining AutoNAT servers; kinda like a cross-check vs. full check.
  • client-side/server-side: start with low timeouts, and increase as necessary.

Relates to libp2p/go-libp2p#518.

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

3 participants