Performance
Posts about Performance
Litestar Cut Our P99 Latency 40% After Migrating From FastAPI
In this article Why does Litestar handle tail latency better than FastAPI? What makes serialization the biggest bottleneck?
Ruff 0.6 Replaced Black and isort in Our Monorepo Last Week
The switch took one afternoon and one follow-up PR. A 180-package Python monorepo that had been running black , isort , and flake8 on every pre-commit.
Python JIT: practical notes from production
The experimental copy-and-patch JIT landed in CPython 3.13 behind the –enable-experimental-jit build flag, and by 3.14 it is stable enough to enable on.
asyncio.TaskGroup vs gather: Why Structured Concurrency Wins in Python 3.11+
If you’ve been writing asyncio in production Python for more than a few months, you’ve almost certainly hit the same trap I keep watching teams walk into.
Step-by-Step Tutorial: Writing Python Extensions in Rust With PyO3
I hit a massive performance wall last Tuesday. I was tasked with parsing a 50GB dataset of nested JSON logs for a cybersecurity client doing malware.
How to Process Massive CSV Files With DuckDB and Python Fast
A 60GB CSV file lands in your AWS S3 bucket. Your data pipeline triggers, spins up a standard EC2 instance, and attempts to run pandas.read_csv() .
I Dropped Pandas for Polars. Here’s What Broke.
It was 11 PM on a Thursday last month. My data pipeline running on a t3.xlarge AWS instance crashed for the fourth time that week. The culprit?
Mastering Gil Removal: Advanced Techniques and Best Practices for Modern Developers
Introduction to Gil Removal In today’s rapidly evolving technological landscape, GIL removal has emerged as a critical skill for developers seeking to.
I Turned on the Python 3.14 JIT in Production (Well, Staging). Here’s the Truth.
Well, I have to admit, I was a bit skeptical about this whole Python JIT thing at first. In my experience, “free performance” usually comes …
Poetry is Dead to Me: Why I Switched to uv
Actually, I should clarify – I held on for as long as I could. Really, I did. I was the guy in the team chat defending Poetry 1 back in 2023.
