-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP/2 #153
Comments
We are slightly in limbo regarding the HTTP server. Currently we have this one implemented in TypeScript but it's slow. I have attempted to build a native version which would use Rust's HTTP/2 libs but due to [technical reasons] it was not fast enough. I am currently optimistic that the TypeScript HTTP server can be made fast. We think our bottleneck is in the central way that Deno sends and receives messages to V8 (the "calling convention"). @piscisaureus is actively working on a new version of this - we should have an idea soon (~1-2 weeks) if the current TypeScript implementation will be fast enough or if we need to go to native Rust again. Once we understand these performance problems better, we will either attempt to implement HTTP/2 in TypeScript or we will return to using Rust's Hyper which already supports it. We are also interested in implementing the ability to use QUIC. But that is a ways off still. |
Thanks for the detailed and thoughtful response! For HTTP/3 and QUIC in RUST this library looks interesting |
Forgive me if this is already been discussed or I am wrong, but is there a reason that Deno HTTP (and Websockets) are based on HTTP/1. Everything else in Deno seems so modern, it seems weird to support the old standard and not HTTP/2. Maybe this is already on the roadmap?
Obviously biased article supporting this viewpoint:
https://medium.com/@pgjones/http-1-should-die-81b7588d617e
The text was updated successfully, but these errors were encountered: