message queue

A store that holds messages from producers until consumers are ready to process them, decoupling the rate of arrival from the rate of work.

In more detail

It absorbs bursts and lets workers scale independently. Most queues deliver at least once, so consumers must handle duplicates, and ordering is a separate guarantee. Queue depth is a key health measure.

Examples

Kafka never deletes on read; consumer groups layer queue-like sharing on top of its log.
In this course: Queues are shared and timing-dependent, so tests usually replace them with a fake, such as a plain list, or use a real one in an integration test. Examples include RabbitMQ and Amazon Simple Queue Service.

Related terms

Taught in

References

Certification courses