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