Overview
Pub/Sub (Publish/Subscribe) services (e.g., Amazon SNS, Google Cloud Pub/Sub) enable one-to-many communication. A single message published to a topic can be delivered to multiple subscribers, such as email addresses, mobile devices, or other cloud services.
Key Concepts
- Topic: A logical access point and communication channel.
- Publisher: Sends messages to the topic.
- Subscriber: Receives messages from the topic.
- Fan-out: The ability to deliver a single message to multiple destinations simultaneously.
Use Cases
- Sending notifications to users (SMS, Email, Push).
- Triggering multiple parallel workflows.
- Real-time data distribution.