-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Support and enable HTTP/2 #21793
Comments
Jetty 12 is done but some changes in the airlift would be still needed (ALPN, HTTP/3?) |
Related NPE fix in Airlift - airlift/airlift#1154 |
Related issue in Jetty jetty/jetty.project#11631 Fix will be out with 12.0.9 |
Related Trino isssue - #21735 |
@mosabua I'd say that 21735 is unrelated to HTTP/2 itself - it applies to HTTP/1 and any other protocol as well |
I've experimented with HTTP/2 support in the Airlift and I came to the following conclusions that I'd like to discuss and seek approval from @dain @electrum. Let's start with the features that we have implemented and knobs and switches that we expose right now:
If the default configuration is used for both server and client:
If the
In order to introduce
Does it sound reasonable @dain @electrum @martint ? cc @mosabua for visibility |
This sounds reasonable to me -- summarized as remove My only comment is that for the server side, we should also have an enable flag for HTTP/2 rather than a binder, since this something an administrator would control -- not something that the application code would depend on. |
Related to that I need some input and review on #22166 Once that is in place we can also expand to add the http/2 config stuff in there.. and the existing http-client page. And probably also stuff in the internal communication page. |
Questions - how do we enable http/2 by default for internal communication? |
Good questions. @wendigo I assume we would want to use this by default when |
@dain with the implementation that I've added in airlift we can have HTTP/2 always on for both secure and insecure internal communication. We don't need https always on for that. |
This will definitely need a release notes entry @colebow for 451 |
Merged to master. |
As discussed in numerous contributor and maintainer meetings, we plan to move Trino towards HTTP/2. Patches to support that and use it in production exist already in the user and contributor community. Experience in terms of performance gains is very promising and a desire to have this feature in Trino itself is shared across numerous stakeholders.
This issue aims to pull the various efforts together and serve as communication tool.
Following are a couple of tasks and aspects to consider:
The text was updated successfully, but these errors were encountered: