Publisher subscriber models as well as message queue models are used for asynchronous communication. Some of the main difference between these two are as follows:
In the message queue model, there is one stream of messages. This stream is consumed by one consumer.
In the publisher subscriber model, there can be multiple consumers for the same message. These consumers are known as subscribers.
Watch more Playlists:
System Design Interview Questions: • System Design Interview Questions
Software Architect Questions: • Software Architect Interview Questions
Microservices Questions: • Microservices Interview Questions
Devops Interview Questions: • DevOps Interview Questions
Connect with us:
Facebook: / knowledgepowerhouse
Twitter: / knowledgepowe10
Amazon: https://www.amazon.com/Knowledge-Powe...
Site: www.knowledgepowerhouse.com