Amazon SNS
#86 · Level 3 · Modern architecture · Application IntegrationConcept
Section titled “Concept”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.
Simple example
Section titled “Simple example”An announcement over the school loudspeaker — say it once, and every class hears it at the same time.
Why it’s needed
Section titled “Why it’s needed”When something happens (such as a new order), many systems need to be told. Telling each one separately is a hassle.
Where it’s used
Section titled “Where it’s used”Telling the stock, invoice and email systems at once when a new order comes in, and SMS or push notifications on mobile.
Azure equivalent
Section titled “Azure equivalent”Azure Service Bus Topics / Event Grid
Learn more
Section titled “Learn more”For details and the latest information, see the official documentation: