System Overview - Producer-consumer pattern
The producer-consumer pattern is a design where one or more producers create data or tasks and place them into a queue. One or more consumers then take tasks from the queue to process them. This pattern helps balance work and improves system scalability and reliability.