-
Notifications
You must be signed in to change notification settings - Fork 187
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
[FEATURE] Support HTTP/2 #215
Comments
@arunx2 see please opensearch-project/OpenSearch#4257 |
What changes do we need to do in this library after the above was merged? @arunx2 want to contribute? At the least we need to document how to enable HTTP/2. |
We basically need to introduce HTTP/2 compatible client transports, there are few ways we could approach that:
Thanks. |
What do you think we should do @reta ? |
@dblock we could do both :-) I aimed to take on Apache HttpClient 5.x but we could also do PoC on dedicated |
@reta what do you mean by "all supported OpenSearch clients." I would propose that opensearch-java be the only "supported" java client. |
@wbeckler apologies for confusion, there are 3 clients right now: |
How about adding in README that this client supports HTTP/2, possibly a section in USER_GUIDE that explains how to use it (does it need to be turned on? does it just work?), and then closing this? |
Documenting the HTTP/2 support with respect to opensearch-project/OpenSearch#4257 |
Is your feature request related to a problem?
No
What solution would you like?
As the
opensearch-java
library requires Java 11, we can support HTTP/2 as it is much faster and more reliable than HTTP1. HTTP1 loads a single request for every TCP connection, while HTTP2 avoids network delay by using multiplexing. We can either leverage javaHttpClient
or square'sOkHttp
librariesThe text was updated successfully, but these errors were encountered: