Skip to content

Glossary: System Design Basics in Go

producer / consumer

Also written: producer, consumer

The producer is the code that puts messages on a queue, such as checkout. The consumer is the worker that takes them off.

Where the book teaches it

Related terms

message queuebrokerback pressureworker