Publish and Subscribe
Learn about publish-subscribe architecture and its pros and cons.
We'll cover the following
Overview
Publish and subscribe is an architecture where certain clients publish the information and certain clients receive that information. There are mainly three components present in this architecture:
- Publishers
- Subscribers
- Event bus
Each of these components performs certain jobs regardless of interacting with each other. A publisher publishes the information without having details about the users who will be using the published data. Similarly, a subscriber can get the information regardless of knowing who posted this information. The event bus is responsible for smoothly transferring messages or information from publishers to subscribers.
Get hands-on with 1400+ tech skills courses.