logstash-input-http icon indicating copy to clipboard operation
logstash-input-http copied to clipboard

rate-limiting: propagate back-pressure from queue as HTTP 429's

Open yaauie opened this issue 1 year ago • 0 comments

Adds a proactive handler that rejects new requests with HTTP 429's when the queue has been blocking for more than 10 consecutive seconds, allowing back- pressure to propagate in advance of filling up the connection backlog queue.

While I'd like to take the time to break out the supplied ExecutionObserver into a separate library, I think it is better to roll with what we have than to hold back.

yaauie avatar Oct 01 '24 05:10 yaauie