Search code examples
amazon-web-servicesparallel-processingaws-lambda

Is AWS Lambda considered parallel processing?


I couldn't fit this question in any of the stack exchange categories, so I'm just gonna go ahead and ask it here. I couldn't find solid definitions on whether AWS lambda is categorized as parallel processing or not.

I do know that there are different levels of parallelism:

  • Hardware level parallelism
  • Instruction level (software level) parallelism

Now, AWS lambda works by creating independent stateless instances of functions per request (correct me if I'm wrong). Does lambda exhibit parallelism in this behavior?


Solution

  • Each AWS Lambda function is executed in a container. Multiple Lambda functions can be triggered simultaneously and they will execute in different containers. (Sometimes a container is reused, so this is not always true.)

    So, while a specific Lambda function might not use parallel processing, the fact that multiple Lambda functions can run simultaneously is a form of parallel processing.