liveBook · Manning

Queue

As explained in Microservices Patterns, Second Edition

A FIFO queue is a queue that guarantees first-in, first-out message delivery.

A queue is a message channel for point-to-point delivery. Ordering depends on the broker: ActiveMQ and RabbitMQ preserve order within a single queue, and AWS SQS FIFO queues guarantee ordered delivery; SQS standard queues do not. Preserving global ordering can reduce throughput and scalability. section 8.3.3

Table 8.4 Each message broker implements the message channel concept in a different way.

Point-to-point channel

Publish-subscribe channel

ActiveMQ

Queue

Topic

Apache Kafka

Topic

Topic

RabbitMQ

Exchange + Queue

Fanout exchange and a queue per consumer

AWS Kinesis

Stream

Stream

AWS SQS

Queue

-

AWS SNS

-

Topic

Compare how message brokers implement point-to-point and publish-subscribe channels. section 8.3.3

How Microservices Patterns, Second Edition covers it

How deep it goes
Compares broker-specific queue ordering guarantees without detailing queue internals.
Examples
Contrasts ordered SQS FIFO queues with unordered SQS standard queues and cites ActiveMQ and RabbitMQ queues.
What you can do after
Understand where brokers preserve message ordering and how global ordering can affect throughput and scalability.
How it connects
Connects message channels with point-to-point messaging and message brokers.

Also explained in

Compare how 30 books explain queue →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microservices Patterns, Second Edition. The section links point to the parts of the book it draws on.