js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

QUIC in JS for libp2p

Open daviddias opened this issue 6 years ago • 3 comments

Found out today thanks to @sericaia that there is already a QUIC implementation for Node.js made by @fidm

  • https://www.npmjs.com/package/quic
  • https://github.com/fidm/quic

Super cool! We should try it out and see if it is interoperable with @marten-seemann go-quic impl and use it in libp2p :)

daviddias avatar Nov 27 '18 11:11 daviddias

There is also some discussion around implementing QUIC as a native node module, https://github.com/nodejs/node/issues/23064, potentially starting early next year.

jacobheun avatar Nov 27 '18 11:11 jacobheun

This project seems to be dead, last commit was 7 months ago. According to the README, it's implementing Google QUIC (although without the crypto, however that's supposed to work), whereas we're using IETF QUIC.

The native node module looks very promising, will be interesting which implementation they'll choose as the basis, or if they'll write their own.

marten-seemann avatar Nov 27 '18 11:11 marten-seemann

There's also this one https://github.com/rmarx/quicker/tree/draft-15 that is worth taking a look (note that it uses an old Node version)

sericaia avatar Nov 28 '18 10:11 sericaia

closing in favor of https://github.com/libp2p/js-libp2p/issues/1459

p-shahi avatar May 30 '23 03:05 p-shahi