OvermindDL1

OvermindDL1

Http/3 in Phoenix

Well I made the old HTTP/2 thread, so I guess it’s time I should make the HTTP/3 thread, lol. ^.^;

Cloudflare has rolled out HTTP/3 support. Things from curl to chrome itself already support HTTP/3, and firefox is adding support in an upcoming nightly. So how goes HTTP/3 support in phoenix (does the BEAM even have a QUIC library yet speaking of)? :slight_smile:

Most Liked

josevalim

josevalim

Creator of Elixir

Oh wow, that was QUIC.

29
Post #5
tristan

tristan

Rebar3 Core Team

The most complete I’ve seen for QUIC is GitHub - g-andrade/quack: Erlang implementation of Google QUIC protocol · GitHub which has been archived. Since HTTP/3 moves parts for flow control to the protocol QUIC that were in the application level with HTTP/2 I have meant to look at if an http/2 library, like GitHub - joedevivo/chatterbox: HTTP/2 Server for Erlang. Boy, that guy was a real chatterbox waddn't he? I didn't think he was ever going to stop with the story. · GitHub, would make sense as a starting point to pull some parts out of for build quic.

Also, TLS 1.3 is required though, isn’t it? I know it is at least partially available in OTP 22 but I don’t know that all necessary components are available.

hubertlepicki

hubertlepicki

@josevalim you definitely spend too much time chatting with @tenderlove, it influences your puns. :smiley:

My 2 cents would be that in addition to server (as in Cowboy most likely), support for HTTP client would be a nice to have at some point. I can see this will be a big speed up in some systems I saw, that do crazy stuff like protobuf files stored & read through S3, once AWS adds support to HTTP/3 on their end.

Last Post!

lawik

lawik

Nerves Core Team

For others that stumble in on this at some later date.

Cowboy is working on it?
https://github.com/ninenines/cowboy/issues/1544#issuecomment-957185586

Bandit is thinking about it and has it on the roadmap:
https://github.com/mtrudel/bandit/issues/28
https://github.com/mtrudel/thousand_island/issues/32

Where Next?

Popular in Discussions Top

jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
tomekowal
Hey guys! I want to create a toy project that shows a chart of temperature over time and updates every 5 seconds. I feel LiveView is per...
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Other popular topics Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44608 311
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement