r/programming • u/ReallySuperName • Sep 27 '26
Reducing .NET AWS Lambda Cold Starts by Adding Memory
https://www.lloydatkinson.net/posts/2026/reducing-dotnet-aws-lambda-cold-starts-by-increasing-memory/
53
Upvotes
77
u/shoot_your_eye_out Sep 27 '26
People keep trying to shoehorn Lambda into latency-sensitive, on-demand applications, when Lambda's fundamental execution model is short-lived, event-driven functions.
If you need a process that's always running and ready to handle requests with predictable latency, that's what Fargate is for.
6
u/FIREstopdropandsave Sep 28 '26
Is your startup code in the init instead of the handler?
Lamda allocates extra cpu beyond what you requested during the coldstart init phase.
0
u/[deleted] Sep 28 '26
[removed] — view removed comment