AWS Lambda

AWS Lambda

AWS Lambda is a serverless computing service provided by Amazon Web Services (AWS). It allows us to run our code without having to provision or manage servers.

One of the key differences between Lambda functions and traditional servers is that Lambda functions are event-driven and have a very short lifespan.

Instead of running continuously like a server, Lambda functions only run in response to specific events, such as an API request, a message on a queue, or a file upload to S3.

ℹ️

We should note that lambdas take time to start up for the first request they serve. This is called a “cold start”.

If the next request comes within a short time, the same lambda runtime may be used, which is called a “warm start”. If more than one request comes concurrently, multiple Lambda runtimes are started.