Load Testing · Senior · Question 14 of 76
In a queue-based system, how do you know the consumers keep up with the load?
- 1The queue never returns an error to the producer
- 2Queue depth and consumer lag stay flat at the target rate
- 3The producer's API returns 202 quickly for every request
Show the answer
Correct answer: Queue depth and consumer lag stay flat at the target rate
Explanation
Accepting work is cheap. If lag grows steadily, consumers fall behind and the backlog will eventually cause timeouts or data loss.