-
Notifications
You must be signed in to change notification settings - Fork 0
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
Replace the TCP swarm with QUIC. #1585
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, as long as you've tested this on a real network :)
991f29b
to
c7fb37b
Compare
@frankmeds @pavlops I'd like to try switching the swarm from underlying TCP to QUIC/UDP. I'd appreciate it if you could have a look at this PR - particularly the bits that relate to deployment. Let me know if there's anything that I missed out. Thanks! Note: I will not merge this PR until it is successfully deployed on |
This reverts commit c04d5a8.
After deploying and restarting all the nodes in zq2-devnet it seems to be running as normal. So, I think this migration from TCP to QUIC is ready for merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice one! - We should also update the documentation to reflect this:
https://github.com/Zilliqa/dev-portal/blob/c86e875c18f6397be17c02b0344d8a715b4f23e5/zq2/docs/nodes/prototestnetnodes.md#L35
This PR changes the underlying swarm transport from TCP to QUIC. This is also recommended by libp2p as QUIC is faster. This has been deployed in
zq2-devnet
successfully. This is a breaking change and the entire network needs to be upgraded to QUIC.