Publisher Subscriber Pattern | Pub Sub | System Design

preview_player
Показать описание
The Publish/Subscribe pattern, also known as pub/sub, is an architectural design pattern that provides a framework for exchanging messages between publishers and subscribers. This pattern involves the publisher and the subscriber relying on a message broker that relays messages from the publisher to the subscribers. The host (publisher) publishes messages (events) to a channel that subscribers can then sign up to.

Although Pub/Sub is based on earlier design patterns like message queuing and event brokers, it is more flexible and scalable. The key to this is the fact Pub/Sub enables the movement of messages between different components of the system without the components being aware of each other’s identity.

In this short video I explain the fundamental concepts behind the Pub/Sub pattern you need to know for any system design interview.

System Design Interview Basics Playlist:

AWS Certification:
Рекомендации по теме
Комментарии
Автор

Hope this channel becomes repository of all systems design and Distributed systems concepts.

Kudos to all you effort. You are improving the game eveytime.

One stop shop for SD topics in plain language.

Proud of you. 🙏

siyaram
Автор

Awesome man. I dont think anyone else could have explained better than this. Keep up the good work

vcvStocks
Автор

this is very informative. It quelled a lot of the questions floating in my mind. Thank you very much for this video!!

seijumimurasakibara
Автор

Excellent video and very well explained. Please keep this quality content coming! :)

dunezoop
Автор

Your videos are great!!! Keep them coming!

kevinsalmeron
Автор

Question : how does the topic send the mesage to client? Does it call a callback function of the client with the message?

shubhankar