Replies: 2 comments
-
One of the big advantage of UDP over TCP is that forming a head can be dynamic, eg. there's no need to set the peers' connection info up front. Each hydra-node listens on a dedicated UDP port when it starts and can communicate this information with peers when one wants to start a head. This communication could happen on-chain, by putting the connection info into the Also UDP is much more malleable than TCP when it comes to relaying and NAT traversal, checkout Tailscale's doc: https://tailscale.com/blog/how-nat-traversal-works/ |
Beta Was this translation helpful? Give feedback.
-
After my hydra-chess experiment, I am all the more convinced that we need to find a way to make ad-hoc Head networks formation much more dynamic and simple than it is today. A rough design for this is forming in my head with:
|
Beta Was this translation helpful? Give feedback.
-
We drafted an ADR on this already: https://hydra.family/head-protocol/adr/17/
It has been thought of, but we are not quite sure whether we want / need to continue down that road. Let's have a discussion! Anyone seeing pros / cons about this? Anyone preferring UDP over TCP connections in one or the other use case scenario?
Beta Was this translation helpful? Give feedback.
All reactions