Skip to content

Glossary: System Design Basics in PHP

Producer / consumer

Also written: producer, consumer, worker

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

Where the book teaches it

Related terms

Message queueBroker