Beginner
System Design
Q28 / 100
What is the purpose of a "queue" in a producer-consumer system?
Correct! Well done.
Incorrect.
The correct answer is A) It temporarily holds tasks or messages produced by one part of the system until they are processed by consumers, smoothing out load
A
Correct Answer
It temporarily holds tasks or messages produced by one part of the system until they are processed by consumers, smoothing out load
Explanation
Queues buffer work between producers and consumers, allowing each to operate at their own pace and absorbing spikes in load without overwhelming downstream systems.
Progress
28/100