Interview practice question
Lambda cost higher than expected
Data Engineering · AWS Lambda · Experienced
A pipeline using Lambda for every record in a stream now costs more than a dedicated cluster would. How do you redesign it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Per-record invocations multiply request and overhead costs.
- Increase batch sizes and batching windows.
- Process in micro-batches rather than per record.
- Consider Firehose, Flink or containers for steady high throughput.
- Compare cost per million records across options.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.