Ravi Sir's Cards › AWS
One job or many?
This comparison card contrasts One job or many. Task state: Calls one resource once per entry (often Lambda). Map state Runs the same processor over each array item. The card pairs Task state with one unit of work, and Map state with same work × N items.
Read card text
What this card says
One job or many?
Task state
Calls one resource once per entry (often Lambda).
Map state
Runs the same processor over each array item.
Key points
Single payment charge.
Fan-out over 500 invoice ids.
Example
Task → charge Lambda / Map MaxConcurrency=10
Use when
One unit of work.
Same work × N items.