Skip to content

Amazon SNS

#86 · Level 3 · Modern architecture · Application Integration

Amazon SNS (Simple Notification Service) is a publish/subscribe messaging service. It has a topic, where a publisher sends a message. Everyone who has subscribed to that topic gets their own copy of the message; this is called fan-out. A subscriber can be an SQS queue, a Lambda function, an HTTP endpoint, email, or mobile SMS and push notifications. In SQS a message is usually taken by one consumer, but in SNS one message goes to many.

An announcement over the school loudspeaker — say it once, and every class hears it at the same time.

When something happens (such as a new order), many systems need to be told. Telling each one separately is a hassle.

Telling the stock, invoice and email systems at once when a new order comes in, and SMS or push notifications on mobile.

Azure Service Bus Topics / Event Grid

For details and the latest information, see the official documentation: