Skip to content
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 support for the web UI #20830

Open
user29835461 opened this issue Oct 30, 2024 · 2 comments
Open

http/2 support for the web UI #20830

user29835461 opened this issue Oct 30, 2024 · 2 comments
Labels

Comments

@user29835461
Copy link

Graylog should natively support http/2 for the web UI.

Graylog has the tendency to make large amounts of small requests to the server. These would be slightly faster from user perspective if http/2 was in use, even without any other changes.

I think the service is run by Jersey which supports http/2. However http, and http/2 capable services seem to be different classes. I have no idea whether the http/2 capable endpoint also can speak http/1. Perhaps adding an experimental configuration option for changing the protocol implementation could be a good approach here.

I investigated serving http/2 to clients but downgrading the protocol at reverse proxy. It's a very bad idea because of the security implications related to downgrades. The whole chain handling requests should natively speak h2/h2c for security reasons.

@dennisoelkers
Copy link
Member

Thanks @user29835461!

Just out of curiosity, are you recommending this as a theoretical optimisation or because you are actually experiencing issues with the way the frontend works right now?

@user29835461
Copy link
Author

No acute issue. I tested the web UI using http/2 (with the downgrade), and it feels slightly faster in overall. YMMV, because it depends heavily on your users' network connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants