SD Mastery
.
course
prep
arena
ask
shorts
stories
you
?
Search lessons, topics…
⌘K
?
L1
· Intern
0 / 100 xp → junior
~
course
prep
arena
ask
shorts
stories
you
Loading page…
~/himanshu
tty1
~/himanshu
$
cd ~/next-page
[ok]
resolve route
[
..
]
stream page
← all concepts
Message queue
.
also: message queues · work queue · point-to-point queue
A buffer between producers and consumers; in a work queue each message goes to exactly one consumer.
the two-minute refresher
Producers enqueue work; consumers take messages off and process them at their own pace.
Point-to-point: each message is handled by ONE consumer, so adding consumers adds throughput.
It decouples services and absorbs bursts: the queue grows instead of the caller timing out.
Messages are usually removed once acknowledged, unlike a stream where they stay for replay.
Where the course teaches it
W03 · Day 1
Queue vs Stream
learn it →
W00 · Part 2
Infrastructure Building Blocks
revisit →
W00 · Part 6
System Design Terminology & Theory
revisit →
Related concepts
Publish-subscribe
Consumer group
Dead letter queue
Backpressure
Notebook
Ask