Lambda Function Performance

Some performance information for AWS Lambda

  • RAM
    • 128MB to 10GB in 1MB increments
    • The more RAM you add, the more vCPU credits you have
      • at 1792 MB, the function has equivalant of 1 full vCPU
      • After 1792 MB your function has more than 1 CPU. And you need to use multi-threading to benefit from it.
    • If your application is CPU-Bound (computation heavy)
      • Increase RAM
    • Timeout: default 3 seconds, maximum 900 seconds (15minutes)
      • Not recommended for task > 15 minutes