Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Why not one fat Lambda?

This revision card explains Why not one fat Lambda? It starts from the need that one function that sleeps between steps wastes duration billing and mixes failures. Timeouts hit the whole flow. It describes step Functions orchestrates — visual history, per-state retries, wait states, and parallel branches without blocking billing the same way. The how-to section notes define Task , then Task , then Task in ASL. Add Retry on transient errors. Keep each Lambda under a few seconds. An example on the card is packed Lambda fails once , then Step Functions retries that state only; paid stays recorded.

Why not one fat Lambda? One function that sleeps between steps wastes duration billing and mixes failures. Timeouts hit the whole flow. Step Functions orchestrates: visual history, per-state retries, wait states, and parallel branches without blocking billing the same way. Define Task → Task → Task in ASL. Add Retry on transient errors. Keep each Lambda under a few seconds. Packed Lambda fails onc
Why not one fat Lambda? · Download PNG
Read card text

What this card says

Why do we need it?

One function that sleeps between steps wastes duration billing and mixes failures. Timeouts hit the whole flow.

What is it?

Step Functions orchestrates: visual history, per-state retries, wait states, and parallel branches without blocking billing the same way.

How to do it

Define Task → Task → Task in ASL. Add Retry on transient errors. Keep each Lambda under a few seconds.

Type: Task

Example

Packed Lambda fails once → Step Functions retries that state only; paid stays recorded.

See all AWS revision cards