eclipse-ee4j / eclipse-ee4j/jersey
First `.request()` call slow
Open
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
Using Jersey 3.1.1 (JAX-RS Client API) I noticed that the very first call to `.request()` needs between 500ms and 1000ms, while subsequent calls to `.request()` need 0 ms.
While this is not a problem when the Client API is called on a server (hence when a service calls into another service), as typically a lot of subsequent calls will be performed, it is a problem when the Client API is called from a CLI command. In my case, the command will perform *only* a single request!
What can an application programmer do to reduce this time?
Contributor guide
Assessment
This issue has not been assessed yet.