Four policies, one stream of requests
The lab starts at 1.5 times capacity with all four policies. They face the same arrivals. Each panel shows a queue bar, goodput as a share of capacity, and the queue delay of the requests being served. The first chart tracks goodput over time. The third plots goodput against offered load, with the collapse visible as a line that falls instead of flattening.
Play Step Reset Speed 0.5x 1x 2x 4x 8x Seed New seed
offered = 6.0 per t capacity = 4 per t load 1.50x · client timeout 10 t · t = one mean service time
Unbounded FIFO31 waiting
goodput vs capacity 71%
queue delay 2.8t
timeout 10t answered late 0 · rejected 0 · dropped 0 · expired 0
Bounded queue, reject18 waiting
goodput vs capacity 69%
queue delay 3.0t
timeout 10t answered late 0 · rejected 15 · dropped 0 · expired 0
Deadline-aware drop35 waiting
goodput vs capacity 66%
queue delay 3.0t
timeout 10t answered late 0 · rejected 0 · dropped 0 · expired 0
Adaptive LIFO20 waiting
goodput vs capacity 73%
queue delay 0.2t
timeout 10t answered late 0 · rejected 0 · dropped 0 · expired 10
Goodput over time Goodput over time. Text version available below the chart. 0% 30% 60% 90% 120% t=3 t=9 t=15 simulated time share of capacity Unbounded FIFO Bounded queue, reject Deadline-aware drop Adaptive LIFO Text versionGoodput over time (share of capacity against simulated time) Series Latest Lowest Highest Unbounded FIFO 65% 8% 65% Bounded queue, reject 64% 5% 64% Deadline-aware drop 60% 6% 60% Adaptive LIFO 66% 6% 66%
Queue delay of requests that were served Queue delay of requests that were served. Text version available below the chart. 0.0 1.3 2.5 3.8 5.0 t=3 t=9 t=15 simulated time delay (t) Unbounded FIFO Bounded queue, reject Deadline-aware drop Adaptive LIFO Text versionQueue delay of requests that were served (delay (t) against simulated time) Series Latest Lowest Highest Unbounded FIFO 2.6 0.1 2.6 Bounded queue, reject 2.8 0.0 2.8 Deadline-aware drop 2.7 0.1 2.7 Adaptive LIFO 0.2 0.1 0.2
Goodput against offered load, after 200 t (fixed seed 7) Goodput against offered load, after 200 t (fixed seed 7). Text version available below the chart. 0% 30% 60% 90% 120% 0.5x 1.5x 3x capacity offered load (x capacity) goodput share Best possible Unbounded FIFO Bounded queue, reject Deadline-aware drop Adaptive LIFO Text versionGoodput against offered load, after 200 t (fixed seed 7) (goodput share against offered load (x capacity)) Series Latest Lowest Highest Best possible 100% 50% 100% Unbounded FIFO 0% 0% 59% Bounded queue, reject 106% 48% 108% Deadline-aware drop 100% 48% 104% Adaptive LIFO 106% 48% 108%
Events: capacity at 1x.
Text version of resultsUnbounded FIFO: goodput 71% of capacity, 31 waiting, queue delay 2.8 t (p99 5.5 t), answered late 0, rejected 0, dropped 0, expired in the queue 0. Bounded queue, reject: goodput 69% of capacity, 18 waiting, queue delay 3.0 t (p99 5.5 t), answered late 0, rejected 15, dropped 0, expired in the queue 0. Deadline-aware drop: goodput 66% of capacity, 35 waiting, queue delay 3.0 t (p99 6.1 t), answered late 0, rejected 0, dropped 0, expired in the queue 0. Adaptive LIFO: goodput 73% of capacity, 20 waiting, queue delay 0.2 t (p99 0.9 t), answered late 0, rejected 0, dropped 0, expired in the queue 10. Goodput as a share of capacity, by offered load, after 200 t with seed 7 Policy 0.5x 0.75x 1x 1.25x 1.5x 2x 2.5x 3x Unbounded FIFO 48% 59% 0% 0% 0% 0% 0% 0% Bounded queue, reject 48% 59% 104% 108% 106% 106% 106% 106% Deadline-aware drop 48% 59% 104% 104% 100% 102% 100% 100% Adaptive LIFO 48% 59% 104% 108% 106% 106% 106% 106%
Full-page version with guided experiments: Load shedding lab .
Poke at it
Watch the unbounded policy for a minute. It starts like the others. Find the moment its goodput turns down and compare it with its queue delay.
Drop the offered load to 0.7. Which policies still differ?
Raise the load to 3. Does any policy other than the unbounded one lose goodput?
Pick the bounded queue alone and raise its size from 20 to 200. Then lower the client timeout instead.
Look at the numbers under each panel: answered late, rejected, dropped, expired. Where does each policy put the requests it cannot serve?
Change the seed. The exact figures move, and the ordering should not.
The full-page lab also has five guided experiments you can apply with one click.