Message Queues vs Pub/Sub | System Design

preview_player
Показать описание
Should you use Message Queues or Pub/Sub for your distributed systems communications? In this video, we break down everything you need to know about these two essential technologies.

Check out for system design interview practice, built by ex-Google, Microsoft, and Amazon engineers!

Chapters
0:00 - Message Queues
2:52 - Pub/Sub
5:50 - When to Use Each
6:35 - Message Queue Real Example
7:41 - Pub/Sub Real Example
Рекомендации по теме
Комментарии
Автор

Loving your channel! easy to understand and simplified. I think your infographic for this one in the PUB SUB model the arrow from the sender is correct but the arrow from from the topic to the subscribers should point the other way (or both ways) since the subscribers are "subscribed - and checking for changes"? feel free to correct me if I'm wrong. Keep up the great work!

maximilianoInfinito
Автор

I found 😮 a great system design channel ❤❤❤

mustafayazlmc
Автор

Example of pub sub is Youtube subscription, when ever any new video uploaded on system design school channel the users who subscribed that channel get a notification

shubhampitliya
Автор

Thanks for this video! Just got recommended. Leaving a like and subscribing, commenting for the algorithm

purpshell
Автор

Kafka is more like event streaming, how different from message queue

qazyhn
Автор

Why shouldn't I use pub/sub with only one subscriber instead of queue? In this case i'll be able to add another subscriber if this is needed. It looks like queue is limited and pub/sub can have same behaviour like queue and can be easy extendable.

sebastianw