• Classes
  • 08 - Queues

Introduction

Quotas

In the last classes, we saw how to use Lambda to deploy ML applications without worrying so much about the server infrastructure needed for execution.

Furthermore, we saw how to use Layers and Docker images to maintain a good organization of the project and its dependencies, bypassing file size limits established when creating functions in AWS Lambda.

Tip! 1

You can see AWS Lambda default quotas Here.

Important!

Using Docker with AWS Lambda offers several benefits beyond overcoming ZIP size limitations.

Docker allows you to package not only your code but also the entire runtime environment, including dependencies and system configurations, into a consistent and portable container.

Concurrent Executions

Question 1

In computer science, what is concurrency?

Answer!

Concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the outcome. This allows for parallel execution of the concurrent units, which can significantly **improve overall speed **of the execution in multi-processor and multi-core systems.

Question 2

In the context of an AWS Lambda function, what is concurrency?

Answer!

In AWS Lambda, Concurrency is the number of in-flight requests your AWS Lambda function is handling at the same time.

Question 3

Is there a limit on simultaneous execution of lambda functions?

Answer!

Yes, check it Here. It can be increased up.

Question 4

What happens if there are too many calls to a lambda function, so that the concurrency limit is reached?

Answer!

Let's test it and find out!