Message Queue
A buffer that stores messages between producers and consumers. Messages are processed one by one, in order. Think of it as a to-do list for your services.
What is Message Queue?
A buffer that stores messages between producers and consumers. Messages are processed one by one, in order. Think of it as a to-do list for your services.
Message Queue is a intermediate-level concept that sits in the Messaging & Event Systems area of system design. Engineers reach for it whenever they need to reason about real-world trade-offs in that space — not just for textbook correctness, but because real production systems at companies like Netflix, Amazon, and Google make these decisions every day.
If you want to go deeper than this definition — with diagrams, code, and a quiz to lock it in — work through the "Message Queue" lesson linked below. It walks through the why, the mechanism, the trade-offs, and how the giants actually use it in production.
Learn Message Queue in depth
Full interactive lesson with diagrams, code examples, real-world references, and a quiz.
Open the Message Queue lessonRelated lessons
Lessons that touch on Message Queue as part of a larger topic.
Message Queues
Decouple producers from consumers with a buffer that holds messages until they're processed
intermediate · messaging event systems
Design a Notification System
Design a multi-channel notification system - push, email, SMS with priority queues, fan-out, and delivery guarantees
capstone · capstone
Integration Testing
Testing how components work together, databases, APIs, message queues, and third-party services in combination
intermediate · devops cicd
See also
Related glossary terms you might want to look up next.
Pub/Sub
A messaging pattern where publishers send messages to topics, and subscribers receive messages from topics they care about. Publishers don't know who's listening.
Kafka
A distributed event streaming platform that handles millions of events per second. Used by LinkedIn, Netflix, and Uber for real-time data pipelines.
Microservices
An architecture where an application is split into small, independent services that communicate over the network. Each service owns its own data and can be deployed separately.