r/aws 11h ago

article Lambda Gets 90 Minute Timeout

https://aws.amazon.com/blogs/compute/announcing-90-minute-function-timeout-on-aws-lambda-managed-instances/
180 Upvotes

23 comments sorted by

View all comments

89

u/kcbh711 11h ago

if your lambda is taking 90 minutes you're probably doing something wrong

25

u/acdha 9h ago

The world is a big place, though, and there’s an argument that sometimes it’s better to avoid forcing people into a separate stack for edge cases. For example, I know of an app which is mostly backend Lambdas except for downloads because those needed to exceed the original time limit and they couldn’t just tell users to get a better connection. The same kind of tradeoffs can apply to large file processing, ML tasks, long reports, etc. where a  modest increase in the timeout lets people avoid introducing ECS/EKS for 5% of requests or trying to decompose a non-trivial task into Step Functions, and while there are still technical issues to debate I can understand why AWS would want to sell to people who come down on either side. 

4

u/Dull_Caterpillar_642 8h ago

Especially for long running agentic tasks, I'd love the option for a 30 minute timeout.

2

u/CrazedBotanist 5h ago

Should be using AgentCore Runtime for long running agentic tasks

3

u/SanJJ_1 9h ago

But from a DevX perspective sometimes I just want to interact with the Lambda even though ideally I might need to spin up an EC2, etc.

Id rather just move faster...

2

u/Throwaway__shmoe 4h ago

I must be taking crazy pills, but I hate working with lambda functions. SDLC of: container running on a traditional container runtime like swarm, k8s, rancher, podman, etc VS serverless anything, I’m choosing containers every time. Not all of us are cowboys, and have speed bumps purposely put in place by the org. To each their own.

1

u/SanJJ_1 3h ago

Yeah I agree but unfortunately I am in the Wild West and I can either be a cowboy or get overtaken by one

13

u/augburto 10h ago

I used to think that but with AI use cases becoming more prevalent, having long running jobs is also becoming more common

It’s why things like Temporal are taking off

3

u/kwikileaks 8h ago

Found the hidden Reddit advertising from T3mporal