Skip to content

QUIC support #3769

New issue

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

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

Already on GitHub? # to your account

Closed
yf-hk opened this issue Jan 23, 2021 · 12 comments
Closed

QUIC support #3769

yf-hk opened this issue Jan 23, 2021 · 12 comments
Labels
enhancement New feature or request
Milestone

Comments

@yf-hk
Copy link

yf-hk commented Jan 23, 2021

It would be super awesome if socket.io can use QUIC as one of its transport layers.

@yf-hk yf-hk added the enhancement New feature or request label Jan 23, 2021
@darrachequesne
Copy link
Member

That would be awesome indeed 👍

Related:

@darrachequesne
Copy link
Member

Bad news:

Good news:

@darrachequesne darrachequesne added this to the 4.7.0 milestone Jun 20, 2023
@reececomo
Copy link

@darrachequesne just checking in — any new developments on the node support side (two years later)?

@darrachequesne
Copy link
Member

@reececomo it's coming: https://github.com/socketio/engine.io/releases/tag/6.5.0

We'll use the @fails-components/webtransport package for now, until support lands on Node.js: nodejs/node#44325

@darrachequesne
Copy link
Member

WebTransport is now supported: https://github.com/socketio/socket.io/releases/tag/4.7.0

We'll add a guide to test it with a self-signed certificate in local environments (soon).

@reececomo
Copy link

Nice one @darrachequesne!

@darrachequesne
Copy link
Member

The guide: https://socket.io/get-started/webtransport

Any feedback is welcome!

@reececomo
Copy link

That is awesome, great job!

Currently we're using geckos.io (WebRTC datachannel), and interested to see if QUIC/webtransport offers any performance improvement/reduces packet overhead.

@reececomo
Copy link

Might be interesting to see a side-by-side comparison between websockets and webtransport with a realtime game/sim (i.e. like @yandeu's here: https://www.youtube.com/watch?v=ZEEBsq3eQmg)

@frabera
Copy link

frabera commented Jul 6, 2023

WebTransport is now supported: https://github.com/socketio/socket.io/releases/tag/4.7.0

We'll add a guide to test it with a self-signed certificate in local environments (soon).

Awesome! Is it possible/planned to use datagrams instead of streams?

@reececomo
Copy link

Interestingly Desktop Safari and a handful of mobile browsers say they support QUIC (HTTP/3) but not Webtransport. Not fully across the particulars here, we'll continue with WebRTC data channels in the meantime.

@frank-dspeed
Copy link

@reececomo i find it importent to point that out i also go at present for everything with webrtc directly i ship only the inital html

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants