Replies: 1 comment 3 replies
-
This is a good question. We want to improve the graceful shutdown (not only for HTTP). @ozangunalp has been looking into it, but no action has been decided yet. I feel this will become a working group. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When
quarkus.graceful.timeout
is set, Quarkus starts responding to requests on existing persistent HTTP connections with status code 503 and closing the connection. This is not optimal when Quarkus is used to implement REST APIs (e.g. via Spring Boot) where clients tend to make requests using a pool of persistent connections towards the API. In particular, when running a highly available service, there will be other (newly started) instances of the service available which could process the request. In that scenario, closing idle connections will allow load balancers to direct the request to a ready instance. How can I override this behavior? In my case, I would like to process the request as normal and then close the connection as per https://www.rfc-editor.org/rfc/rfc9112.html#name-tear-down.Beta Was this translation helpful? Give feedback.
All reactions