Posted On: Nov 18, 2021
Amazon Simple Notification Service (Amazon SNS) now supports message batching for the publish action, which lets you publish up to 10 messages in a single batch request to either Standard Topics or FIFO Topics. Batching messages into a single API request is intended for those who want to reduce their costs associated with connecting decoupled applications with Amazon SNS. Previously, Amazon SNS required individual API requests for every published message.
Amazon SNS is a fully managed, reliable, and highly available messaging service that enables you to connect decoupled microservices or send messages directly to users via SMS, mobile push, and email. Amazon SNS offers flexible pricing and you only get charged for what you use. Publish batch API requests cost the same as individual publish API requests. This means that you can reduce the costs of using Amazon SNS by a factor of 10 if you batch the maximum amount of 10 messages per request.
Amazon SNS message batching is available in the Amazon Web Services China (Ningxia) region, operated by NWCD, and the Amazon Web Services China (Beijing) region, operated by Sinnet.
Start batching messages with Amazon SNS in minutes using the Amazon Web Services Software Development Kit (SDK) or Amazon Web Services Command Line Interface (CLI).
To learn more about how to publish messages in batches with Amazon SNS, see the following:
- Amazon SNS message batching in the Developer Guide