The engineering notebook
RSS feed#aws-lambda
Articles, practical guides, and engineering notes on aws-lambda.
By Ashish Bhakhand 108 published articles
Explore the articles
7 articles
Reset filtersDesigning Stable Correlation IDs Across Serverless Requests and Workers
Carry one traceable identity through HTTP, events, queues, retries, and logs without confusing correlation with idempotency.
Why My Lambda Handlers Only Wire Dependencies
Keep handlers focused on transport concerns and dependency wiring so application behavior stays reusable and easy to test.
Serverless Observability Without Logging Everything
Use structured events, low-cardinality metrics, and clear naming to make Lambda systems diagnosable without producing noisy or unsafe logs.
Reliable SQS Workers: Retries, Partial Failures, and Dead-Letter Queues
Build Lambda consumers that expect duplicate delivery, isolate poison messages, and retry only the records that failed.
Idempotency Is Not Optional in Serverless Systems
Retries are normal in distributed systems. Design writes so repeated requests and messages do not repeat the business effect.
The Lambda Middleware Every Function Should Have
Standardize correlation IDs, safe logs, error responses, and timing once so every Lambda handler starts with reliable operational behavior.
How I Structure TypeScript Lambda Features Without a Heavy Framework
A feature-first structure keeps Lambda handlers thin, business rules testable, and AWS and MongoDB details at the edges.