O'Reilly logo

Hands-On Serverless Deep Learning with TensorFlow and AWS Lambda by Rustem Feyzkhanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lambda function – AWS implementation of FaaS

In this section, we will discuss the workings of the AWS implementation of FaaS. The Lambda function is an AWS implementation of FaaS. The AWS service keeps Lambda configuration, which is basically code, libraries, and parameters within the service. Once it receives the trigger, it takes the container from the pool and puts the configuration inside the container. Then, it runs the code inside the container with the data from the event trigger. Once the container produces results, the service returns it in the Response.

The following diagram is a representation of the workings of the Lambda function:

Lambda scales automatically for up to 10,000 concurrent executions. Also, Lambda pricing is a pay ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required