Overview
Direct Answer
A message queue is an asynchronous communication mechanism that temporarily stores messages in a buffer, allowing decoupled applications to exchange data without requiring simultaneous availability. The sending application deposits messages into the queue, and receiving applications retrieve and process them at their own pace.
How It Works
Messages arrive at a centralised queue structure where they are sequenced and stored persistently until a consumer application claims and processes them. The queue broker manages ordering, delivery guarantees, and acknowledgement tracking, ensuring messages are not lost or duplicated during transit between producer and consumer systems.
Why It Matters
Message queuing enables organisations to build resilient, scalable architectures where system failures in one component do not cascade to others, reducing downtime costs and improving operational reliability. It also allows applications to handle variable workloads by buffering traffic spikes, preventing bottlenecks and optimising resource utilisation across distributed environments.
Common Applications
Typical use cases include order processing systems in e-commerce, log aggregation in monitoring platforms, notification delivery across microservices, and background job processing in data pipelines. Financial institutions use message queues for transaction settlement, whilst media companies employ them for content distribution workflows.
Key Considerations
Practitioners must balance delivery guarantees (at-least-once versus exactly-once) against performance, and manage increased operational complexity from maintaining additional infrastructure. Message ordering and poison message handling require careful design to prevent system degradation.
More in Cloud Computing
Cloud-Native Development
Service ModelsAn approach to building applications that fully exploit cloud computing advantages including microservices, containers, dynamic orchestration, and continuous delivery.
Cloud-Native Database
Strategy & EconomicsA database designed from the ground up to operate in cloud environments with automatic scaling and high availability.
Block Storage
InfrastructureA data storage technology that manages data as individual blocks, each acting as an independent hard drive.
FinOps
Strategy & EconomicsA cultural practice combining technology, finance, and business to manage cloud costs through data-driven decision making.
Infrastructure as Code
Deployment & OperationsManaging and provisioning computing infrastructure through machine-readable configuration files rather than manual processes.
Cloud Computing
Service ModelsThe delivery of computing services — servers, storage, databases, networking, software — over the internet on demand.
Platform Engineering
Deployment & OperationsThe practice of building and maintaining internal developer platforms that provide self-service capabilities, standardised tooling, and golden paths for software delivery teams.
Infrastructure as a Service
Service ModelsCloud computing model providing virtualised computing resources like servers, storage, and networking over the internet.