Deno: Support HTTP/2, HTTP/3 and QUIC

Created on 14 Feb 2020  路  7Comments  路  Source: denoland/deno

This was discussed over in denoland/deno_std#153 but was locked during the move.

While we still have concerns around the HTTP server, we should also consider supporting HTTP/2, HTTP/3 and QUIC.

cli feat

Most helpful comment

It's quite likely that we will expose native HTTP server.

Getting these protocols correct is very difficult - it's better to collaborate with other Rust users. We will probably using warp. (We will be using warp for Chrome DevTools web socket server, so it makes sense to also expose a native WebSocket object using that. Might as well also use it for HTTP bindings.)

The reason why we have std/http and not a native HTTP server is because we're still working out the kinks in the "op model". In our benchmarks deno_tcp is still slower than node_tcp

3c49cb

I want to fix that first before adding the native HTTP since it will be built on top of the same primitives.

All 7 comments

It's quite likely that we will expose native HTTP server.

Getting these protocols correct is very difficult - it's better to collaborate with other Rust users. We will probably using warp. (We will be using warp for Chrome DevTools web socket server, so it makes sense to also expose a native WebSocket object using that. Might as well also use it for HTTP bindings.)

The reason why we have std/http and not a native HTTP server is because we're still working out the kinks in the "op model". In our benchmarks deno_tcp is still slower than node_tcp

3c49cb

I want to fix that first before adding the native HTTP since it will be built on top of the same primitives.

@ry Is there a ticket for those performance benchmarks or any schedule for when it might make it in?

What's the status on http/2 support in Deno?

The issue is open. That indicates that it isn't resolved yet.

The issue is open. That indicates that it isn't resolved yet.

Well yes, I can see that. What I meant was, how much progress has been made on this?

Any progress would be mentioned in this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ry picture ry  路  3Comments

ry picture ry  路  3Comments

motss picture motss  路  3Comments

metakeule picture metakeule  路  3Comments

kyeotic picture kyeotic  路  3Comments