Async

Chameleon templates, modernized: chameleon-rs I rewrote Chameleon in Rust to make Python web apps faster. chameleon-rs runs your existing templates unchanged and adds async rendering, Markdown, and free-threaded Python support.
Cutting Python Web App Memory Over 31% I reduced Python web app memory by 3.2 GB using async workers, import isolation, the Raw+DC database pattern, and disk caching. Detailed before and after numbers for each technique.
Raw+DC Database Pattern: A Retrospective After migrating three production Python web apps to the Raw+DC database pattern, I share real-world performance benchmarks: nearly 2x requests per second, 18% less memory, native async support, and freedom from unmaintained ODM libraries.
Fire and Forget at Textual Will McGugan hit the same asyncio.create_task garbage collection bug at Textual - and found the pattern in over 500K GitHub files. Why didn't the Python team just fix the event loop?
Fire and forget (or never) with Python’s asyncio Python's asyncio.create_task() can silently garbage collect fire-and-forget tasks in 3.12+. Learn the background_tasks set pattern to fix it.
Talk Python migrated to Quart web framework And I did a big write up in case it helps anyone on similar journeys.