Glossary: System Design Basics
Producer / consumer
Also written: producer, consumer, worker
The producer is the code that puts messages on a queue (e.g. checkout); the consumer, or worker, takes them off and does the work (e.g. sending email).
Glossary: System Design Basics
Also written: producer, consumer, worker
The producer is the code that puts messages on a queue (e.g. checkout); the consumer, or worker, takes them off and does the work (e.g. sending email).