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
Publish-subscribe
.
also: pub-sub · pub/sub · pubsub · publish/subscribe
A messaging pattern where every message published to a topic is delivered to all of its subscribers.
the two-minute refresher
One event, many listeners: order.created reaches billing, email and analytics.
The publisher doesn't know who listens, so new subscribers need no producer change.
Contrast with a work queue, where each message goes to exactly one consumer.
Consumer groups combine both: fan-out across groups, load balancing within a group.
Where the course teaches it
W03 · Day 1
Queue vs Stream
learn it →
W00 · Part 2
Infrastructure Building Blocks
revisit →
Related concepts
Message queue
Consumer group
Event-driven architecture
Notebook
Ask