Skip to content

Glossary: System Design Basics in C++

Producer / consumer

Also written: producer, consumer, worker

The producer is code that puts messages on a queue, such as checkout. The consumer or worker takes them off and does the work.

Where the book teaches it