WebTransport spec could be interesting for Nostr. Websockets, but multiple connections over a single steam which avoids head of line blocking, and are lighter weight (using wrapped TLS UDP).
Discussion
Ah, it makes me remember about cloudflared tunnel. It also uses QUIC as the tunnel mode
Really easy to expose local services 🙂
looks interesting
Interesting…so if I’m understanding correctly, this would mean a nostr client could connect to multiple relays over a single WebTransport stream, rather than a separate WebSocket for each relay?
It’s still point to point, and not p2p or some kind of aggregation.
What it can do however is stream multiple Nostr subscriptions or events at the same time from the same relay - or perhaps even stream events and the media content like images at the same time without blocking.
At present if you send 5 large events and 5 small ones, the first large 5 events need to be received one by one fully before the faster smaller events can even start. Basically congestion.
Ahh i see, makes sense. Thanks for clarifying