Posted On: Jul 28, 2023

Today, Amazon Simple Queue Service (SQS) announces a preview of JSON protocol support, enabling lower latency and improved performance for SQS customers. Based on AWS performance tests for a 5KB message payload, JSON protocol for Amazon Simple Queue Service reduces end-to-end message processing latency by up to 23% and reduces application client side CPU and memory usage. Amazon SQS is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.

To enable better performance in information exchange and interoperability of applications, customers are increasingly switching to JSON protocol from the traditional AWS Query protocol. Now, Amazon SQS customers can take advantage of lower latency when using the specified AWS SDK version. The specified SDK version achieves these latency gains by upgrading the default communication protocols to JSON wire protocol when they make SQS API requests.

Getting started with the preview of JSON protocol is easy. Customers can simply upgrade their AWS SDK to specified SDK version to use JSON protocol. Customers can revert to the AWS Query protocol by changing the SDK version. For more information about JSON protocol preview for Amazon SQS, see AWS Documentation.

Preview of JSON protocol support for SQS is available in all AWS Regions where Amazon SQS is available and for all generally available AWS SDK language variants.

For more information on getting started with the specified AWS SDK version to use JSON in SQS, see AWS documentation.

To learn more about AWS SDK, see Amazon Developer tools