Overview#
Publish-Subscribe (pub-sub) is a Software design pattern messaging pattern where a Publisher makes a message available to zero or more Subscribers using a specific Protocol.Publish-Subscribe may publish the message to multiple output channels, one for each subscriber.Publish-Subscribe is often used as a form of Asynchronous Operation service-to-service communication used in serverless and microservices architecturesPublish-Subscribe may be messaging can be used to enable Event-Driven Architectures, or to decouple applications in order to increase performance, reliability and scalability.
Unlike the Request-Response messaging pattern the Publisher has no knowledge of the Subscribers (or if there are any Subscribers)