Ravi Sir's Cards › AWS
Check the workload before coding
Write down runtime, traffic bursts, state and cost. An on-demand Lambda Event Function allows up to 30 minutes per invocation. The API, queue consumer or client has its own deadlines and retry rules. Set a timeout that fits all of them. When callers cannot wait, accept a request asynchronously and let clients check job status. Make retries safe.
Read card text
What this card says
Measure first
Write down runtime, traffic bursts, state and cost. An on-demand Lambda Event Function allows up to 30 minutes per invocation.
Check the caller
The API, queue consumer or client has its own deadlines and retry rules. Set a timeout that fits all of them.
Design for slow work
When callers cannot wait, accept a request asynchronously and let clients check job status. Make retries safe.