Перейти к содержимому

The Queue That Never Loses a Message | MQ | IBM MQ | RabbitMQ Explained

SuperUzer

0:00 / 0:00

The Queue That Never Loses a Message | MQ | IBM MQ | RabbitMQ Explained

31 просмотр · 2 недели назад
SuperUzer
65 подписчиков
31 просмотр · 2 недели назад
Where Did That Message Go? Your payment service takes a message off a queue, starts charging a card, and crashes halfway through. Does the message vanish, wait for someone else, or get charged twice? IBM MQ, RabbitMQ and Kafka each answer differently. This interview-prep deep dive explains how message queues really work: IBM MQ queue managers, channels and transactions, RabbitMQ exchanges, acks and quorum queues, and exactly how both compare to Kafka. It ends with a rapid-fire round of the questions you are most likely to get. ⏱️ Chapters 0:00 The message queue question interviewers love 0:43 Why use a message queue? Point-to-point vs pub/sub 2:05 IBM MQ core: queue managers, queues, channels 3:58 Transactions, backout queues and the dead letter queue 5:33 IBM MQ at scale: clusters, uniform clusters, Native HA 7:17 Halftime recap 7:45 RabbitMQ routing: exchanges, bindings, routing keys 9:27 RabbitMQ reliability: acks, prefetch, confirms, DLX 11:06 Queue types: classic, quorum, streams, Khepri 12:40 IBM MQ and RabbitMQ vs Kafka (and where ZooKeeper went) 14:43 Five production failure scenarios 16:07 Rapid-fire interview questions 17:35 Wrap-up 📌 In this video • Why queues exist: decoupling, buffering and reliability, and why a queue deletes on ack while Kafka keeps a log • IBM MQ objects: local, remote, alias and model queues, transmission queues, sender/receiver and SVRCONN channels • Persistent messages, syncpoint, backout threshold (BOTHRESH) and backout queue (BOQNAME) vs the dead letter queue • Two-phase commit and JMS / Jakarta Messaging with IBM MQ • Clusters vs high availability: full repositories, uniform clusters, Native HA (Linux VMs from 9.4.4), CRR, and IBM MQ 10.0 LTS • RabbitMQ exchanges: direct, fanout, topic (* and # wildcards), headers, and the default exchange • Manual acks, prefetch (basic.qos), publisher confirms, durable queues, persistent messages and dead letter exchanges • Classic vs quorum queues vs streams, the 20-delivery default limit, and Khepri as the only metadata store in RabbitMQ 4.3 • Smart broker vs smart consumer, ordering, scaling, and how Raft replaced ZooKeeper across the board 💻 Try it tonight dspmq # list IBM MQ queue managers and their status echo "DISPLAY QLOCAL(*) CURDEPTH" | runmqsc QM1 # queue depth for every local queue rabbitmqctl list_queues name type messages consumers # RabbitMQ queues at a glance rabbitmq-diagnostics alarms # memory or disk alarms blocking publishers 📚 Sources • IBM MQ 10.0 announcement: https://www.ibm.com/new/announcements... • IBM MQ 9.4.4 (Native HA and CRR on Linux): https://www.ibm.com/new/announcements... • IBM MQ high availability options: https://www.ibm.com/docs/en/ibm-mq/9.... • RabbitMQ AMQP 0-9-1 concepts: https://www.rabbitmq.com/tutorials/am... • RabbitMQ consumer acks and publisher confirms: https://www.rabbitmq.com/docs/confirms • RabbitMQ quorum queues: https://www.rabbitmq.com/docs/quorum-... • RabbitMQ streams: https://www.rabbitmq.com/docs/streams • RabbitMQ dead letter exchanges: https://www.rabbitmq.com/docs/dlx • RabbitMQ resource alarms: https://www.rabbitmq.com/docs/alarms • RabbitMQ 4.3.0 release notes (Khepri only): https://github.com/rabbitmq/rabbitmq-... • RabbitMQ 4.0 release notes (classic mirroring removed): https://github.com/rabbitmq/rabbitmq-... Versions as of October 2026: IBM MQ 10.0 LTS, RabbitMQ 4.3, Apache Kafka 4.2. 🎬 Credits • Music: "Inspired", "Night Vigil", "Blue Feather", "Spy Glass" and "Hyperfun" by Kevin MacLeod (incompetech.com), licensed under CC BY 4.0: http://creativecommons.org/licenses/b... • Narration: Kokoro TTS 🔔 If this made queues click before your interview, subscribe. Next up: Node.js, from the event loop to securing your APIs. #IBMMQ #RabbitMQ #Kafka #SystemDesign #InterviewPrep TAGS ibm mq interview questions, rabbitmq interview questions, message queue explained, ibm mq tutorial, rabbitmq tutorial, rabbitmq vs kafka, ibm mq vs kafka, message broker, queue manager, mq channels, dead letter queue, backout queue, rabbitmq exchanges, topic exchange, quorum queues, rabbitmq streams, publisher confirms, native ha, jms, point to point vs pub sub, system design interview, backend interview prep, senior engineer interview, kafka zookeeper