Inets http2 support
Thu Nov 21 17:22:59 CET 2019
On Thu, Nov 21, 2019 at 4:17 PM Loïc Hoguin <essen@REDACTED> wrote:
> I've contemplated starting work on a QUIC implementation but I've queued
> it back to second place so I might only start in 6 months if nobody does
> before me.
We have also considered doing this. I've already written a nif wrapper for
the CloudFlare rust code that can do the very basics, however the steps
from basic to fully-fledged implementation seems huge. Also, from what I
understand, the cloud flare implementation is not ready for production use,
but that will hopefully change in the future.
So far my impression has been more similar to what Jesper describes. It
will be a lot of work to get correct and fast enough in Erlang. Using some
other stack (like the mvfst for instance) would cut out a lot of the
complexity, but we lose all of the control of what is going on. Though I
suppose that is the same as what happens with TCP today.
I've been changing opinion on every other week for a while whether I think
it would be a good idea for us to implement it or not, this week I'm
against :) The things that I think make this job huge is the flow control,
congestion control things and the constant changes to the protocol that
seem to be planned. However, if there are more people than us at the OTP
team that are interested in helping out to build good support for QUIC, it
becomes a lot more interesting.
One of the use-cases (besides the obvious HTTP/3 use-case) that we have
been thinking about would be to allow the Erlang distribution to run over
> * Write the network layer. The hard part is TLS 1.3 (including 0-RTT!),
but it can be skipped by using a custom cleartext "encryption" mechanism
> so you can still progress even if you don't have TLS 1.3 yet. Since it's
> being worked on, waiting is good!
We were thinking about re-using the ssl applications TLS 1.3
implementation. It is not trivial as transport and TLS are upsidedown for
QUIC, but should be doable sais Ingela and Peter :p
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions