<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb" -->

---
title: Python on Serverless: Strategies for Peak Performance -...
description: [EuroPython 2026 - S4 on 2026-07-16] 🎤 *Python on Serverless: Strategies for Peak Performance by Alejandro Cabello Jiménez*   🔗...
canonical: https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Python on Serverless: Strategies for Peak Performance - Alejandro Cabello Jiménez | daily.dev
og:description: [EuroPython 2026 - S4 on 2026-07-16] 🎤 *Python on Serverless: Strategies for Peak Performance by Alejandro Cabello Jiménez*   🔗...
og:url: https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb
og:image: https://api.daily.dev/og/posts/eCyUT0EEb.png
og:image:alt: Python on Serverless: Strategies for Peak Performance - Alejandro Cabello Jiménez
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Python on Serverless: Strategies for Peak Performance - Alejandro Cabello Jiménez

**[EuroPython Conference](https://daily.dev/sources/europython)** · 29 min read · 0 upvotes · 0 comments

## Summary

[EuroPython 2026 - S4 on 2026-07-16]
🎤 *Python on Serverless: Strategies for Peak Performance by Alejandro Cabello Jiménez*  
🔗 https://ep2026.europython.eu/session/python-on-serverless-strategies-for-peak-performance 

📝 Abstract:
We deployed Python in serverless environments and quickly saw the performance limits. Serverless systems suffer from startup latency, memory overhead, and repeated object creation as their executions start almost from scratch. Those extra seconds made our user experience painfully slow—and we couldn’t afford it.

We looked into the performance of our flight search engine, ran profilers, and applied optimizations. We found real gains when *tuning Python’s GC,* reducing *stop-the-world pauses,* and introducing an *asynchronous post-execution process* that runs after the handler returns. We reduced execution time from *1.2 seconds to 300 milliseconds—a 4× speedup* with just a few tweaks.

Understanding *Python’s memory model* and its runtime behavior was essential, and it’s something we’ll dive into during the talk. What we share is based on *AWS Lambda,* but it can be applied to any short-lived Python system—whether serverless or containerized.

Another big gain came from replacing `Pydantic` with `TypedDict` for faster parsing, using *Redis* strategically to distribute operations, and restructuring code to eliminate duplicated transformations. Our web API processes thousands of flight offers—deserialize, enrich, transform—and every millisecond counts.

While covering optimization techniques, when they matter, and how we measured their impact, the main idea is that you will walk away with tactics that help your system stay fast while it grows.

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: https://creativecommons.org/licenses/by-nc-sa/4.0/

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=1F75r4i5wrM>

---

Tags: [#python](https://daily.dev/tags/python), [#conference](https://daily.dev/tags/conference)

[View this post on daily.dev](https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Python on Serverless: Strategies for Peak Performance - Alejandro Cabello Jiménez","url":"https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb"},"datePublished":"2026-08-19T10:14:23.558Z","dateModified":"2026-08-19T12:02:10.659Z","description":"[EuroPython 2026 - S4 on 2026-07-16]\n🎤 *Python on Serverless: Strategies for Peak Performance by Alejandro Cabello Jiménez*  \n🔗...","image":"https://i.ytimg.com/vi/1F75r4i5wrM/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/1F75r4i5wrM/sddefault.jpg","isAccessibleForFree":true,"articleSection":"EuroPython Conference","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"EuroPython Conference","logo":"https://media.daily.dev/image/upload/s--qu8RO-lH--/f_auto,q_auto/v1777800764/logos/europython?_a=BAMAMiWQ0","url":"https://daily.dev/sources/europython"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/python-on-serverless-strategies-for-peak-performance---alejandro-cabello-jim-nez-ecyut0eeb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,conference","timeRequired":"PT29M","video":{"@type":"VideoObject","name":"Python on Serverless: Strategies for Peak Performance - Alejandro Cabello Jiménez","description":"[EuroPython 2026 - S4 on 2026-07-16]\n🎤 *Python on Serverless: Strategies for Peak Performance by Alejandro Cabello Jiménez*  \n🔗...","thumbnailUrl":"https://i.ytimg.com/vi/1F75r4i5wrM/sddefault.jpg","uploadDate":"2026-08-19T10:14:23.558Z","duration":"PT29M","url":"https://api.daily.dev/r/eCyUT0EEb","embedUrl":"https://www.youtube.com/embed/1F75r4i5wrM"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"EuroPython Conference","item":"https://daily.dev/sources/europython"},{"@type":"ListItem","position":3,"name":"Python on Serverless: Strategies for Peak Performance - Alejandro Cabello Jiménez"}]}
```

