№ 02 / SUMMARIES

#asyncio

Every summary, chronological. Filter by category, tag, or source from the rail.

Tag · #asyncio
DAY 01May 21, 2026 MAY 21 · 20261 SUMMARIES
Python in Plain EnglishSoftware Engineering

Why Async Isn't Always Faster for Batch Jobs

Concurrency is not a universal performance fix. In CPU-bound or connection-heavy batch processing, the overhead of the event loop and increased database contention can make async code slower than simple thread-pooled synchronous code.

Python in Plain English
DAY 02May 7, 2026 MAY 7 · 20261 SUMMARIES
Python in Plain EnglishSoftware Engineering

Fire-and-Forget Background Tasks: Python's 500ms Rule

Keep request-response under 500ms by decoupling acknowledgment (HTTP 202) from execution. Use reference registries for asyncio, FastAPI BackgroundTasks for light work, multiprocessing for CPU tasks, or Celery for persistent, scalable jobs.

Python in Plain English

Showing 2 of 2