Skip to content

Glossary: System Design Basics in Rust

Producer / consumer

Also written: producer, consumer, worker

A producer puts messages on a queue, like checkout adding an order ID. A consumer, or worker, takes them off and does the work, like sending the email.

Where the book teaches it

Related terms

Message queueBroker