PyCon CZ

PyCon CZ 23
15–17 September

Optimize your Python functions in AWS Lambda for speed and cost‑efficiency a talk by Markus Ziller

Saturday 16 September 15:40 (30 minutes)

This presentation explores optimizing AWS Lambda functions written in Python for speed and cost‑efficiency.

We examine the fundamentals of AWS Lambda and how Python functions operate in a serverless environment. Key factors impacting performance and cost, such as memory allocation and execution time, are discussed.

Techniques for improving speed include leveraging concurrency, optimizing memory settings, and using asynchronous programming patterns.

Cost-efficiency strategies involve selecting appropriate memory configurations, managing resource utilization, and designing efficient code.

The presentation provides practical examples and real-world experiences to demonstrate the benefits of each optimization technique. By the end, attendees will gain a comprehensive understanding of fine-tuning Python AWS Lambda functions to achieve optimal performance while minimizing costs in serverless applications.

What do you need to know to enjoy this talk

Python level

Medium knowledge: You use frameworks and third-party libraries.

About the topic

No previous knowledge of the topic is required, basic concepts will be explained.

Markus Ziller

I am a Senior Solutions Architect at AWS. I help some of the largest enterprises in the travel and logistics industry to solve hard business challenges using AWS technology.

Recognized as a subject matter expert in Serverless applications, I guide customers through complex serverless topics, offering in-depth knowledge and hands-on experience in that domain. I am an active contributor to the AWS community, sharing my knowledge through frequent speaking engagements at conferences, as well as authoring AWS blog posts and code samples on diverse subjects.