name: choose-a-message-queue
description: Choose a message queue using delivery, ordering, latency, throughput, and operating constraints. Use when the user needs to select messaging infrastructure for a system workflow.
domain: architecture-design
tags: [message-queue, throughput, delivery-semantics]
triggers: ["message queue selection", "choose a message broker", "compare queue technologies"]
Choose a message queue using delivery, ordering, latency, throughput, and operating constraints
Purpose
Choose a message queue using delivery, ordering, latency, throughput, and operating constraints.
When to use
Use when the user needs to select messaging infrastructure for a system workflow.
When NOT to use
Do not use this for a local implementation detail; use software-engineering instead.
Inputs required
- The functional and non-functional requirements
- The constraints on scale, budget and timeline
- The existing systems the design must fit
Procedure
- Quantify message volume, size, latency target, retention, and consumer concurrency.
- List delivery, ordering, deduplication, replay, and cross-region requirements.
- Compare the candidate queues against those requirements and team operating capacity.
- Estimate the cost of infrastructure, support, upgrades, and failure recovery.
- Validate the chosen queue with representative load and failure scenarios.
- Record the assumptions, lock-in risks, and the trigger for revisiting the selection.
Output contract
A design with components, interfaces, data flows, failure modes and a migration path.
Validation checklist
Safety notes
Never present a design as final without stating the assumptions it depends on.
Related skills
choose-between-a-modular-monolith-and-microservices
assess-a-technical-proposal
design-a-batch-processing-pipeline
1---2name: choose-a-message-queue3description: Choose a message queue using delivery, ordering, latency, throughput, and operating constraints. Use when the user needs to select messaging infrastructure for4---5---6name: choose-a-message-queue7description: Choose a message queue using delivery, ordering, latency, throughput, and operating constraints. Use when the user needs to select messaging infrastructure for a system workflow.8domain: architecture-design9tags: [message-queue, throughput, delivery-semantics]10triggers: ["message queue selection", "choose a message broker", "compare queue technologies"]11---1213# Choose a message queue using delivery, ordering, latency, throughput, and operating constraints1415## Purpose1617Choose a message queue using delivery, ordering, latency, throughput, and operating constraints.1819## When to use2021Use when the user needs to select messaging infrastructure for a system workflow.2223## When NOT to use2425Do not use this for a local implementation detail; use software-engineering instead.2627## Inputs required2829- The functional and non-functional requirements30- The constraints on scale, budget and timeline31- The existing systems the design must fit3233## Procedure34351. Quantify message volume, size, latency target, retention, and consumer concurrency.362. List delivery, ordering, deduplication, replay, and cross-region requirements.373. Compare the candidate queues against those requirements and team operating capacity.384. Estimate the cost of infrastructure, support, upgrades, and failure recovery.395. Validate the chosen queue with representative load and failure scenarios.406. Record the assumptions, lock-in risks, and the trigger for revisiting the selection.4142## Output contract4344A design with components, interfaces, data flows, failure modes and a migration path.4546## Validation checklist4748- [ ] Every requirement maps to a component49- [ ] Failure and rollback paths are described50- [ ] The trade-offs behind the choice are written down5152## Safety notes5354Never present a design as final without stating the assumptions it depends on.5556## Related skills5758- `choose-between-a-modular-monolith-and-microservices`59- `assess-a-technical-proposal`60- `design-a-batch-processing-pipeline`