AWS Lambda response streaming now supports 200 MB response payloads

AWS Lambda response streaming now supports 200 MB response payloads

AWS Lambda response streaming now supports a default maximum response payload size of 200 MB, 10x higher than before. Lambda response streaming allows you to progressively stream response payloads back to clients, improving performance for latency sensitive workloads by reducing time to first byte (TTFB) performance.

Response streaming is ideal for use cases which are sensitive to end-user latency, including real-time AI chat or web or mobile applications where page load performance influences user experience. Previously, the default response payload limit for response streaming functions was 20 MB and if your response payload exceeded this limit, you needed to incur additional overhead by compressing the payload or using services like Amazon S3 as an intermediary step. The increased response payload limit allows you to process response payloads of up to 200 MB directly within Lambda, enabling use cases such as real-time processing of large datasets, image-heavy PDF files, or even music files.

Lambda response streaming supports Node.js managed runtimes as well as custom runtimes. The 200 MB response streaming payload limit is default in all AWS Regions where Lambda response streaming is supported.

To learn more about Lambda response streaming, please refer to Lambda documentation

Categories:

Source: Amazon Web Services



Latest Posts

Pass It On
Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *