All labs
Failure Lab · Hard

Slow consumer trap

A video transcoding worker takes 25 ticks per message, but visibility timeout is 10. The queue is small but workers report processing the same job dozens of times.

Symptom · Every message accumulates a high receive count. Throughput is awful — the same work is done multiple times in parallel.

Goal: Keep average receive count ≤ 1.2 for 40 ticks.
Hint: Either raise VT above 25, or enable a heartbeat ≥ 5.
upload-servicetranscode-jobs · t0Consumers
upload-service
every 1100ms
transcode-jobs
0
Visible0
In-flight0
transcoder-1
idle
transcoder-2
idle
transcoder-3
idle
Knobs
10t
0t

Extend on each tick

Pending
0
In-flight
0
Delivered
0
Failures
0
Avg wait
0.0t
Avg rc
0.00
Empty polls
0
DLQ
0