AWS - All about lambda
AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of Amazon Web Services. It is a computing service that runs code in response to events and automatically manages the computing resources required by that code. For example, let’s say you have an application that allows users to upload a photo for a profile image. The application stores these images in Amazon S3. Now, say you want to resize the image to a max resolution. You could handle this task using the traditional model. Still, since this code runs based on an event (the file upload), Amazon S3 can fire an event and trigger the execution of code to handle the image resize. Creating a lambda function: We are done with developing a function. Let's test it by creating an event. Let's look at the output: Init Duration: Refers to the amount of time taken to initialize the lambda. COLD START Cold start refers to the initialization of the lambda (Setting up the environment) required...