Menu

Lambda Durable Functions from First Deploy to Production: Setup, Real Cost, and the Replay Rule
📰

Lambda Durable Functions from First Deploy to Production: Setup, Real Cost, and the Replay Rule

DEV Community: aws·Avneet bansal·16 days ago
#nLQyCwEt
#devtoaws#devto#dev#function#durable
Long article (3046 words) — no AI summary yet.
Reading 0:00
15s threshold

A normal Lambda function that has to wait pays for the wait. If your workflow extracts a document, then waits five minutes for a confirmation, the function sits there billing for all five minutes, and anything longer than the 15-minute limit does not fit at all. Lambda durable functions change that. The function checkpoints its progress, suspends while it waits, and resumes on a new invocation with its state intact.

I wanted numbers rather than the announcement, so I ran the same workflow both ways in my test account and measured what Lambda billed. I also tested the parts that matter once real users depend on it: human approvals, retries, deploying new code while executions are waiting, and the replay rule that can make a durable function quietly do the wrong thing.

Everything below comes from runs on 2026-11-19 in us-west-2 , Python 3.14, x86, 512 MB, with aws-durable-execution-sdk-python 3.1.0. Costs are list prices without the free tier.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.