SYSTEM-DESIGN
    intermediate

    Message Queue

    Software Engineer path · lesson 74 of 99
    Producers
    Queue
    0
    Queue empty
    Consumers
    Consumer A
    Waiting...
    Consumer B
    Waiting...

    Point-to-Point: Each message is consumed by exactly one consumer. Used for task distribution and work queues.

    Queue or pub/sub?

    Sort

    Sort each scenario by the messaging pattern it needs.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Point-to-point queue

    Drop items here

    Publish / subscribe

    Drop items here
    6 pieces left to place

    Test your knowledge

    21 questions
    Question 1 of 21
    Score: 0

    What is the main difference between pub/sub and point-to-point messaging?

    Interview Questions

    LinkedIn
    Uber
    Netflix
    Amazon
    Airbnb
    Stripe
    Microsoft
    Twitter/X
    Confluent

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required