Pub/Sub Design Pattern
In cloud-based and distributed applications, components of the system often need to provide information to other components as events happen.
Publish/subscribe messaging, or pub/sub design pattern is a form of asynchronous service-to-service communication used in serverless and micro-services architectures. In a pub/sub model, any message published to a topic is immediately received by all of the subscribers to the topic. Pub/sub messaging can be used to enable event-driven architectures or to decouple applications in order to increase performance, reliability, and scalability.