Blog
Thoughts on engineering, design, and building great products.
Cold Start: Measure It for Real, Then Op...
AWSHiệu năng
Cold Start: Measure It for Real, Then Optimize What's Optimizable
Back to cold start with real numbers. Force a cold start on the resolve handler to see Init Duration and the cost of the first call, then examine the ways to reduce it: more memory (also more CPU), smaller package, SnapStart, and provisioned concurrency — each has its own place, and on the test account one doesn't apply.
K
KaiMay 26, 2026How Lambda Runs Your Code Internally
AWSHiệu năng
How Lambda Runs Your Code Internally
Dissect Lambda's execution environment lifecycle: the three phases Init, Invoke, Shutdown, why cold start exists, and how static code runs once. Measure cold start for real (Init Duration), then measure the memory–CPU relationship with the same CPU work at 128 MB and 1769 MB. Understand this so later performance and cost decisions have a basis.
K
KaiMay 26, 2026