From ae5ad726269f9748c8a660f184abb585f8ed45c3 Mon Sep 17 00:00:00 2001 From: Dmitry Platonov Date: Tue, 5 Aug 2025 18:28:09 +0300 Subject: [PATCH] [doc] Updated streaming response limit to 200 MB - Updated readme.md and Examples/Streaming/README.md - Changed from 'soft limit of 20 MB' to 'default maximum response payload size of 200 MB' - Aligns with AWS announcement about increased Lambda streaming limits" --- Examples/Streaming/README.md | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/Streaming/README.md b/Examples/Streaming/README.md index 9a138ef1..727a4559 100644 --- a/Examples/Streaming/README.md +++ b/Examples/Streaming/README.md @@ -1,6 +1,6 @@ # Streaming Lambda function -You can configure your Lambda function to stream response payloads back to clients. Response streaming can benefit latency sensitive applications by improving time to first byte (TTFB) performance. This is because you can send partial responses back to the client as they become available. Additionally, you can use response streaming to build functions that return larger payloads. Response stream payloads have a soft limit of 20 MB as compared to the 6 MB limit for buffered responses. Streaming a response also means that your function doesn’t need to fit the entire response in memory. For very large responses, this can reduce the amount of memory you need to configure for your function. +You can configure your Lambda function to stream response payloads back to clients. Response streaming can benefit latency sensitive applications by improving time to first byte (TTFB) performance. This is because you can send partial responses back to the client as they become available. Additionally, you can use response streaming to build functions that return larger payloads. Response stream payloads have a soft limit of 200 MB as compared to the 6 MB limit for buffered responses. Streaming a response also means that your function doesn’t need to fit the entire response in memory. For very large responses, this can reduce the amount of memory you need to configure for your function. Streaming responses incurs a cost. For more information, see [AWS Lambda Pricing](https://aws.amazon.com/lambda/pricing/). diff --git a/readme.md b/readme.md index 88c481aa..2366b53e 100644 --- a/readme.md +++ b/readme.md @@ -219,7 +219,7 @@ You can learn how to deploy and invoke this function in [the Hello JSON example ### Lambda Streaming Response -You can configure your Lambda function to stream response payloads back to clients. Response streaming can benefit latency sensitive applications by improving time to first byte (TTFB) performance. This is because you can send partial responses back to the client as they become available. Additionally, you can use response streaming to build functions that return larger payloads. Response stream payloads have a soft limit of 20 MB as compared to the 6 MB limit for buffered responses. Streaming a response also means that your function doesn’t need to fit the entire response in memory. For very large responses, this can reduce the amount of memory you need to configure for your function. +You can configure your Lambda function to stream response payloads back to clients. Response streaming can benefit latency sensitive applications by improving time to first byte (TTFB) performance. This is because you can send partial responses back to the client as they become available. Additionally, you can use response streaming to build functions that return larger payloads. Response stream payloads have a soft limit of 200 MB as compared to the 6 MB limit for buffered responses. Streaming a response also means that your function doesn’t need to fit the entire response in memory. For very large responses, this can reduce the amount of memory you need to configure for your function. Streaming responses incurs a cost. For more information, see [AWS Lambda Pricing](https://aws.amazon.com/lambda/pricing/).