What Changed Recently
Oct 9, 2024
Recursive loop detection covers S3
May 1, 2025
Tiered pricing for Lambda logs, plus S3 and Firehose destinations
Jul 31, 2025
Response streaming limit raised from 20 MB to 200 MB
Nov 14, 2025
SQS provisioned mode launches; Rust support goes GA
Nov 19, 2025
Tenant isolation mode; API Gateway REST response streaming
Nov 25, 2025
Node.js 24 runtime drops callback handlers
Aug 3, 2026
SQS provisioned mode raised to 10,000 pollers
Aug 31, 2026
Recursive loop detection in all commercial Regions
One more date for runtime questions: Rust support became generally available on November 14, 2025, backed by AWS Support and the Lambda SLA after years as "experimental".
Rust still deploys on an OS-only runtime, because it compiles to native code.
25. What is SQS provisioned mode, and when is it worth paying for?
It gives an SQS event source mapping a minimum and maximum number of dedicated event pollers, kept ready instead of scaled up on demand.
It launched on November 14, 2025, scaling 3x faster than standard mode, at up to 1,000 concurrent invokes per minute. On August 3, 2026 the maximum went from 2,000 to 10,000 pollers, for up to 100,000 concurrent invocations.
The minimum can be set from 2 to 200 pollers, and each poller handles up to 1 MB/s, 10 concurrent invokes or 10 SQS polling calls per second. Billing is per Event Poller Unit, on top of the SQS API calls the pollers make.
Provisioned mode cannot be combined with maximum concurrency; the maximum poller count becomes the concurrency control. For the lowest latency, the event source mapping docs say to set MaximumBatchingWindowInSeconds to 0.
It is worth paying for when bursts must clear in seconds, or when one queue needs more than standard mode's 1,250 invokes. Amazon MSK and self-managed Kafka mappings have their own provisioned mode.
26. What does tenant isolation mode guarantee, and what does it not support?
It guarantees that an execution environment serves only one tenant ID, so one tenant's code or data never shares an environment with another's. It was announced on November 19, 2025, for SaaS platforms that run tenant code or hold tenant data, which used to need one function per tenant.
The constraints, per the tenant isolation docs:
- It is set at creation (
TenantIsolationMode: PER_TENANT) and cannot be turned on for an existing function.
- Every invoke must pass a tenant ID (
--tenant-id, or the X-Amz-Tenant-Id header); without one, the invoke fails. The handler reads it from context.tenantId.
- It does not work with function URLs, provisioned concurrency or SnapStart. API Gateway REST APIs can map the header; HTTP APIs cannot.
- All tenants share one execution role, so the function's own code must still scope data access by tenant.
- There is a limit of 2,500 tenant-isolated environments per 1,000 concurrency, and an extra charge each time Lambda creates a tenant environment.
Event source mappings cannot pass the header. A June 2026 Compute Blog post shows the workaround: a small routing function reads the tenant ID from each message and invokes the isolated function with it.
27. What breaks when a function moves to the Node.js 24 runtime?
Callback-style handlers. The Node.js 24 launch post (November 25, 2025) says the new runtime interface client no longer supports the three-argument (event, context, callback) signature.
It also removes context.callbackWaitsForEmptyEventLoop, context.succeed, context.fail and context.done. Node.js 22 and earlier keep them.
// Node.js 22 and earlier only
export const handler = (event, context, callback) => {
doWork(event).then((r) => callback(null, r)).catch(callback);
};
// Node.js 24
export const handler = async (event: OrderEvent): Promise<Result> => {
return await doWork(event);
};
The quieter change concerns unresolved promises. Lambda no longer waits for them once the handler returns, and response streaming now behaves the same way once the stream ends.
Fire-and-forget work, such as an un-awaited analytics call, may never finish. A migration review should grep for callback, context.done and un-awaited promises, not only bump the runtime string.
28. What are the response streaming limits today?
A streamed response can be up to 200 MB, against 6 MB for a buffered one. The limit rose from 20 MB on July 31, 2025. The streaming docs add the details that change designs:
- The first 6 MB streams with no bandwidth cap; after that, the rate is capped at 2 MBps. A 200 MB response therefore takes well over a minute.
- A dropped client connection does not stop the function, and you pay for the full duration, so long timeouts on streaming functions cost money.
- Managed runtimes support streaming only on Node.js. Python and others need a custom runtime or the Lambda Web Adapter.
- Function URLs do not stream inside a VPC; there, use
InvokeWithResponseStream through a Lambda interface endpoint.
API Gateway REST APIs gained response streaming on November 19, 2025, with request timeouts up to 15 minutes instead of the 29-second default. Streaming reached all commercial Regions on April 7, 2026.
Bytes streamed beyond the first 6 MB are billed as an extra charge.
29. How did Lambda logging costs change, and which controls cut them further?
Since May 1, 2025, Lambda logs in CloudWatch are billed as vended logs at volume tiers. In US East (N. Virginia), the rate starts at $0.50 per GB and falls to $0.05 per GB.
Lambda can also send logs to S3 or Data Firehose, priced from $0.25 down to $0.05 per GB. The Compute Blog's example: 60 TB a month drops from $30,000 to $12,500, 58% less.
Controls on top of the pricing:
- JSON format first. Per the log-level docs, log-level filtering requires JSON log format, and the default for managed runtimes is still plain text.
- Separate levels for application logs (
TRACE to FATAL) and system logs, so production can run at WARN without code changes.
- Infrequent Access log class: 50% lower ingestion price than Standard, for logs you keep but rarely query.
- S3 or Firehose delivery: cheaper, but it uses the Delivery log class, which loses Logs Insights and Live Tail.
Where the tiers start. In US East (N. Virginia), the $0.50 rate covers the first 10 TB a month and $0.05 applies only above 50 TB. A team logging a few hundred GB a month sees no change, so log levels and log class still do more for it than the tiering.
30. Which loops does recursive loop detection stop, and which does it miss?
It stops loops between Lambda functions, SQS, S3, SNS and EventBridge custom buses, and it misses loops through any other service, DynamoDB included.
Per the recursive loop docs, Lambda tags events with X-Ray trace header metadata (no active tracing needed).
After about 16 invocations in one chain, it stops the invoke and sends the event to the DLQ or on-failure destination if one exists.
The scope has grown: S3 was added on October 9, 2024, and detection reached all commercial Regions on August 31, 2026. Three gaps a senior candidate should name:
- The function must call the next service with a supported SDK version, for example the JavaScript SDK 3.105.0 or later. A hand-rolled HTTP call drops the metadata.
- A DynamoDB stream that triggers a function that writes back to the same table is not caught. Budgets or Cost Anomaly Detection are the backstop.
- With an SQS source, Lambda drops the event but SQS can still redeliver the message up to the queue's
maxReceiveCount.
Intentional recursion, such as a function that pages through work by re-queueing itself, can opt out per function with PutFunctionRecursionConfig.