More power, more time, or a missing file?

The essentials in 30 seconds

before you dive into the details
Picture this

A stronger worker or a longer timer?

Give the worker more power

Memory setting → memory and CPU

Useful when computation needs more resources.

Allow more time

Timeout → time limit

Allows longer work without making it faster.

Where the analogy stops: Extra time does not fix a missing dependency or a blocked network connection. Measure the bottleneck before changing a setting.
01Worker and timer

A stronger worker processes more. A longer timer permits more time. Neither replaces a missing tool or expands the temporary workbench.

02Decision

Match the symptom to MemorySize, Timeout, Ephemeral storage, or package contents. Test the changed setting against the same workload.

03In the package

Node.js imports need deployed dependencies. A function referencing a layer uses a specific version ARN; publishing a new layer does not change that reference.

Exam trap

More memory can add CPU, but does not enlarge /tmp. A longer timeout does not supply missing dependencies.

Keywords
  • MemorySize
  • Timeout
  • Ephemeral storage
  • deployment package
  • layer version ARN
One sentence to remember

Identify the missing resource before changing a Lambda setting.

0 media items5 rule steps5 scenarios6 flashcards

Focus mode