When to Use Lambda

In this lesson, you will learn when and when not to use AWS Lambda.

When to use Lambda #

Maximising throughput #

Lambda is great for use cases where throughput is critical and the tasks parallelise nicely. Typical web requests for dynamic content, involving access to a back-end database, or some user data manipulation usually fall into this category. Automatic email replies or chatbots are also a nice example. Any single request taking a few hundred milliseconds more than average won’t be noticeable to typical users and Lambda will ensure that everyone gets served relatively quickly regardless of traffic spikes.

Splittable longer-running tasks #

Longer on-demand computational tasks that can execute in less than 15 minutes, or could be split into independent segments that take less ...