Amazon SQS and SNS Announce 256KB Large Payloads
Today, we are increasing the maximum allowed payload size for the Amazon Simple Queue Service (SQS) and the Amazon Simple Notification Service (SNS) from 64 KB to 256 KB. We are also adding a new option to deliver SNS messages in raw format, in addition to the existing JSON format. This is useful if you are using SNS in conjunction with SQS transmit identical copies of a message to multiple queues. Here is more information about these new features:
- 256KB Payloads (SQS and SNS) enable developers to send and receive more data with each API call. Previously, payloads were capped at 64KB. Now, large payloads are billed as one request per 64KB 'chunk' of payload. For example, a single API call for a 256KB payload will be billed as four requests. Our customers tell us larger payloads will enable new use cases that were previously difficult to accomplish.
- SNS Raw Message Delivery enables developers to pack even more information content into their messaging payloads. When delivering notifications to SQS and HTTP endpoints, SNS today adds JSON encoding with metadata about the current message and topic. Now, developers can set the optional "RawMessageDelivery" property to disable this added JSON encoding. Raw message delivery is off by default, to ensure existing applications continue to behave as expected.
These features are available today in all regions. In order to use these features, you must use the latest SDK that has AWS Signature Version 4 enabled.
Getting started with Amazon SNS and Amazon SQS is easy with our free tier
of service. To learn more, visit the Amazon SNS page
and the Amazon SQS page
. To learn more about subscribing SQS queues to SNS topics, visit the SQS developer reference guide