Message Queues vs Pub/Sub - What's The Difference?!

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 5

  • @raylin2527
    @raylin2527 3 วันที่ผ่านมา

    So amazing ❤😮

  • @purpshell
    @purpshell หลายเดือนก่อน

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

  • @sebastianw2538
    @sebastianw2538 25 วันที่ผ่านมา

    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.

    • @SystemDesignSchool
      @SystemDesignSchool  25 วันที่ผ่านมา

      It depends on your use case. Message queues can have order guarantee, simpler to setup, easier error handling and can deliver exact one consumer.
      It sounds like your use case is closer to a subscriber model in which case pub/sub may work better.