Amazon SNS: Amazon Simple Notification Service (AWS SNS) is a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. Amazon SNS provides topics for high-throughput, push-based, many-to-many messaging.
Using Amazon SNS topics, your publisher systems can fan-out messages to a large number of subscriber endpoints for parallel processing, including Amazon SQS queues, AWS Lambda functions, and HTTP/S webhooks. Additionally, SNS can be used to fan out notifications to end users using mobile push, SMS, and email.
Amazon Simple Notification Service has two different types of clients known as Publishers and Subscribers. Publishers, also known as producers or senders, are solely responsible for creating and sending messages to topics while the Subscribers, also known as recipients or consumers, receive the messages for the particular topic they have subscribed to.
As a mobile developer, obtaining started with AWS straightforward Notification Service is pretty simple, simply use any of the following: AWS Management Console, AWS statement Interface (CLI), or AWS software package Development Kit (SDK).
Amazon SNS Advantages
Messages never get lost – This is one of the features that make Amazon SNS a highly reliable mass message delivery platform. Amazon SNS has storage that allows for superfluous storage of all published messages across multiple geographical locations. The messages are located under topics that are stored in Amazon data centers and are always available whenever the applications need them.
Privacy and Security of messages are guaranteed – Amazon SNS allows topic owners to decide who can publish a certain message or topic and who can subscribe to their topics. Additionally, Amazon SNS support features like the AWS Key Management System (KMS) and Amazon Trust Services (ATS) certificates that help senders encrypt their data while it is in transit.
Message Filtering – When you are subscribed to a certain topic within the Amazon SNS service, you receive every single message sent to that topic. However, at times you may not be interested in all the messages and notifications within that topic. The good news is that you can apply to filter to restrict the notifications you receive to only be within your interest areas. This feature applies to both publishers and subscribers through the application of filter policies.