What is the difference between SQS vs RabbitMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
14 15 16
What is the difference between RabbitMQ vs ZeroMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
10 11 12
What is the difference between Kafka vs ZeroMQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
2 3 4
What is the difference between Azure Event Hub vs Kafka vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
5 6 7
How does ActiveMQ vs RabbitMQ vs Kafka vs Memphis work?
Avatar Idan Asulin
Apr 16, 2023
7 8 9
What is ActiveMQ vs IBM MQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
3 4 5
What is IBM MQ?
Avatar Yaniv Ben Hemo
Apr 16, 2023
4 5 6
What is an mq server?
Avatar Idan Asulin
Apr 16, 2023
3 4 5
How does mq messaging take place?
Avatar Idan Asulin
Apr 16, 2023
2 3 4
What are the differences between broker, queues, and pub-sub system?
0 1 2

A message broker is basically a software component responsible for passing messages between two systems. Meanwhile, a queue is a data structure that stores messages and then passes them to the app when it’s ready. And finally, as the name suggests, a publish-subscribe system publishes and subscribes to different events. Let’s see these in more detail. 

Message broker

A message broker serves as the intermediary between services or applications. It accepts requests from a service or application, processes then, and then sends back a reply to the requester. A message broker is primarily used to handle communication between services to decouple them. 

Queues

A queue is a data structure that stores events or messages in the order in which they arrive until a service or application processes them. Since queues allow you to asynchronously process messages using different nodes in the system (and make it easy to scale applications), they’re great for decoupling components in distributed systems. 

Publish-subscribe system 

Publish-subscribe system is a design pattern that lets you route information across your app depending on the publisher and subscription, instead of direction communication (or connections) between the subscribers and publishers.