Use QUIC as the new network protocol
So there is a new network protocol being standardized atm and it could have a lot of benefits for Discord.
https://quicwg.org/ is the site for the working group and here is the wiki article. But in short the main things it attempts to achieve is multiplexing and demultiplexing of datastreams and also the posibility of splitting your streams across multiple connections. Also this is built on top of UDP so this could be entirely run in userspace.
So using QUIC could allow you to have a call on your phone, whilst you're on your wifi but then switch to a 4G connection without you having to re-establish a connection to the same server and thus without you noticing that you switched. This would this make the app stick out way above any other competitors.
Since QUIC is still not entirely standardized there are no fully compliant implementations. I am however aware of a single implementation in TypeScript/JavaScript (since TS compiles down to JS) here.
Google has also already implemented its own version of QUIC (referred to as GQUIC) but this is specifically tuned for Google applications and as such gets some criticism for it.
tl;dr : QUIC is a new protocol that would make connection switching more seamless
Please sign in to leave a comment.
Comments
0 comments