Send 400 requests a second to a service that can do 160. With no limit the queue grows past 100 jobs and most callers give up before their answer arrives. With a bounded queue more callers get a timely answer. With priority shedding the checkout requests nearly all get through. Measured, not described.
Time30 minutes
StackPython 3Ports 18105
MemoryAbout 50 MB
Before thisLab 43Circuit Breaker & Thread Bulkhead