Queue timeout for load shedding in quarkus #42592
Unanswered
Treiblesschorle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we are trying to implement load shedding in Quarkus and so far I basically found two approaches to do this:
quarkus.thread-pool.queue-size
to a sensible valueOption 1. still sounded to be a bit too experimental and we would rather try a simpler approach first. Our experiments with option 2. showed good results, but I was wondering if it is somehow possible to set a timeout for how long tasks wait in the queue before they are rejected? My understanding so far is that they will wait indefinitely. Thus, in the scenario where tasks are rather long-running, a request could sit in the queue for a long time until it is being processed. I'm also not sure if the quarkus load shedding extension would do something like this.
In case I'm missing other ways to do load shedding, pointers would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions