SVS305: Understanding AWS Lambda Concurrency

Resources for SVS305: Understanding AWS Lambda concurrency

ConcurrentExecutions is one of the most important metrics to understand for any AWS Lambda–based workload. What is Lambda concurrency, and how does is relate to transactions per second? What happens when there is a surge in Lambda invocations? What are the limits and constraints you need to consider across AWS Regions? In this chalk talk, learn about Lambda concurrency in depth and get practical advice that you can use to successfully run your own Lambda workloads.

Understanding AWS Lambda scaling and throughput

Blog

This blog post shows you how concurrency and transactions per second work within the Lambda lifecycle. It also covers ways to measure, control, and optimize them.

Optimizing AWS Lambda Performance and Cost for Your Serverless Applications

Video

In this tech talk, learn common misconceptions about cold starts, and the different impact of cold starts between sync, async, and streaming invocations. Learn about some of the newest features that can optimize Lambda performance and reduce cost and see how making good architectural decisions can help improve performance. Learn why memory allocation is so important and how to profile your Lambda functions to find the optimal configuration.

AWS re:Invent 2020: Handling errors in a serverless world

Video

In this session, explore error handling across Lambda invocation models and discuss patterns for proper visibility and retry behavior. Leave this session with a better understanding of how to code and/or configure services to better deal with errors across different use cases.

Invoking Lambda functions

Documentation

Depending on who invokes your function and how it's invoked, scaling behavior and the types of errors that occur can vary. Learn and read about the different ways to invoke a Lambda function and how it affects concurrency.

AWS Lambda Powertools for Python

Library

A suite of utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, idempotency, batching, and more. Powertools is also available for Java, TypeScript, and .NET

Serverless Applications Lens - AWS Well-Architected Framework

Documentation

The Serverless Application Lens for AWS Well-Architected covers common serverless applications scenarios and identifies key elements to ensure that your workloads are architected according to best practices.

Presented by:

Brian Zambrano

Brian Zambrano

Brian is a Serverless Specialist Solutions Architect, focusing on event-driven architectures, Amazon EventBridge and AWS Step Functions. He comes from a 20-year career in software application development and architecture.

Justin Pirtle

Justin Pirtle

Justin Pirtle is a specialist Solutions Architect at Amazon Web Services, focused on the Serverless platform. He’s responsible for helping customers design, deploy, and scale serverless applications using services such as AWS Lambda, Amazon API Gateway, Amazon Cognito, and Amazon DynamoDB. He is a regular speaker at AWS conferences, including re:Invent, as well as other AWS events. Justin holds a bachelor’s degree in Management Information Systems from the University of Texas at Austin and a master’s degree in Software Engineering from Seattle University.