There are a few things that need to be kept in mind when dealing with scaling Serverless applications. In this section, let's have a brief glance at some of them.
Caveats while scaling Serverless applications
Lambda execution life cycle
In order to understand the challenges and subsequently the workaround to scale lambda functions, we need to understand how a lambda function gets executed.
As discussed in Chapter 2, AWS Serverless Offerings, an invocation of the lambda function takes place in a sandbox on an Amazon Linux AMI machine. The details on how and where this sandbox is provisioned and configured is left to Amazon's discretion. The sandbox provisioning for lambda involves the following steps:
- Provisioning...