The workshop log
Archives
Every essay, tool teardown, and build note, newest first.
-

PostgreSQL Slow Query Optimization for Python Engineers: Triage EXPLAIN ANALYZE, Eliminate Pool Starvation & Fix Index Scans in SQLAlchemy & Asyncpg
Measured on PostgreSQL 16.2: how a slow query is diagnosed from EXPLAIN, fixed with the right index, and kept fixed in asyncpg and SQLAlchemy.
Read the article → -

Fixing Memory Leaks in Production Python: How to Profile, Detect, and Resolve OOM Errors in Celery & Asyncio Workers
Measured on Python 3.12.16: what a leak costs in Celery and asyncio workers, the five patterns that cause it, and the guard module that keeps it fixed.
Read the article → -

Python Asyncio Web Scraping & API Automation: How to Process 10,000 Requests in 60 Seconds Safely
Measured on Python 3.12.16: Little’s law for sizing, semaphores, connector and token-bucket limits, jittered retries, and 10,000 requests in 61.9 seconds.
Read the article →