message-bus

Message Queue vs Message Bus — what are the differences?

为君一笑 提交于 2020-03-17 03:42:12
问题 And are there any? To me, MB knows both subscribers and publishers and acts as a mediator, notifying subscribers on new messages (effectively a "push" model). MQ, on the other hand, is more of a "pull" model, where consumers pull messages off a queue. Am I completely off track here? 回答1: By and large, when it comes to vendor software products, they are used interchangeably, and do not have the strong distinctions in terms of push or pull as you describe. The BUS vs. QUEUE is indeed somewhat a

Message bus and Message queue understanding

时光怂恿深爱的人放手 提交于 2019-12-24 04:51:14
问题 I would like to know if my understanding of Message Bus and Message Queue workings is correct. First thing first, I need to clear the naming, a service bus is used interchangeably with message bus ? It is a publisher-subscriber type of system where messages are added let's say to a message collection by any number of publishers and from where any number of subscribers can read, am i right so far ? P1 --- /``````S1 \________ Service Bus Middleware ------+------ S2 / MESSAGE-COLLECTION \_____