-
Notifications
You must be signed in to change notification settings - Fork 72
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
MP REST Client should implement a type of connection pooling #242
Comments
I believe most implementations of MP REST Client have connection pooling in their underlying HTTP Client, but we could investigate adding properties to "standardize" how to it's configured. For maximum request time, that's handled with the existing |
Agreed with the |
Really interested in this feature too. I'm using Open Liberty and I don't find any solution to access the underlying HTTP Client and set max connections :s |
So, do we any update on the implementation of this feature? |
For REST Client on Liberty, the correct contact is @jim-krueger or @WhiteCat22 |
Connection pooling for Open Liberty today is a per destination size. Standardizing configuration of this is something that maybe should be considered, but I'm not sure if this belongs with microprofile-rest-client. I think it might be a better candidate for RESTful Web Services. |
Currently Java allows for a number of maximum connections to destinations based on the property
http.maxConnections
and can be kept alive usinghttp.keepAlive
. However, this may not be fined grained enough for applications that need to communicate with multiple systems that will have varying degrees of connections allowed.It would be a good feature to have some sort of connection pooling for each destination, similar to that of datasources, that allow for:
etc
-Brian
The text was updated successfully, but these errors were encountered: