Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDT Transition path #1738

Closed
whyrusleeping opened this issue Sep 21, 2015 · 3 comments
Closed

UDT Transition path #1738

whyrusleeping opened this issue Sep 21, 2015 · 3 comments
Labels
topic/libp2p Topic libp2p

Comments

@whyrusleeping
Copy link
Member

Once we get UDT into go-ipfs, we need to have a plan for how to transition the network to use it. My thoughts are as follows:

  1. Change default config to include a UDT listener address, and provide instructions in release notes for users with prexisting configs to add it manually.
  2. Update all bootstrap nodes to have both TCP and UDT listeners.
  3. Somehow make go-ipfs prefer UDT addresses when given the choice between UDT and TCP.
  4. update default config so that bootstrap node addrs are all UDT (or maybe just some of them)
  5. update some of the bootstrap nodes to have only UDT listener addresses (2-3 nodes, definitely less than half)
  6. change default config to only have a UDT listener (note: nodes will always have the ability to dial tcp)

These steps should be spaced a few days or so apart each, to give the network time to adapt to each change and to observe any issues along the way. Any bugs that get found and fixed related to the UDT transition process should increase the time between the relevant steps (allowing more time for users to update to the fixed code)

@zignig
Copy link

zignig commented Sep 22, 2015

👍 💯

I still think a pure go udt would be better.

@whyrusleeping
Copy link
Member Author

@zignig me too... but none such libraries exist with any sort of reasonable performance.

@jbenet
Copy link
Member

jbenet commented Sep 23, 2015

above sgtm for the most part.

  • update default config so that bootstrap node addrs are all UDT (or maybe just some of them)
  • update some of the bootstrap nodes to have only UDT listener addresses (2-3 nodes, definitely less than half)
  • change default config to only have a UDT listener (note: nodes will always have the ability to dial tcp)

tons of networks block ALL udp traffic. See https://www.google.com/search?q=udp+blocked

  • nodes should continue to expose a TCP listener by default.
  • all bootstrap nodes should continue to support tcp.

The benefits you're looking for can be achieved by getting "Somehow make go-ipfs prefer UDT addresses" right.

@daviddias daviddias added the topic/libp2p Topic libp2p label Jan 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/libp2p Topic libp2p
Projects
None yet
Development

No branches or pull requests

4 participants