AWS Lambda cold starts with a Node.js function — how to reduce them?
poze 14 days ago417 gadeen
2
My Lambda has noticeable cold starts (~800ms). Bundle size is 4MB. What are the highest-impact fixes (provisioned concurrency, bundling, runtime choice)?
🤖 Dyagnostik IA
Se IA ki fè l. Se pa yon repons — kominote a anba a konfime oswa korije l. Toujou verifye anvan ou fye l.
poze 14 days ago
Stéphanie Louis 156
Thanks, this helped. Did you also try clearing the cache?
— marielouis 5 days ago
1 Repons
6
Biggest wins in order: (1) bundle with esbuild and tree-shake to shrink the artifact, (2) move heavy init out of the handler, (3) provisioned concurrency for latency-critical paths. Runtime choice matters less than bundle size.
Konekte pou di lòt moun si li te mache.
answered 14 days ago
James Étienne 185
Sign in and verify your email to post an answer.