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