Hussein Awala·1d agoBatch the Work, Not the Requests: Async Batcher 0.3.0One caller, one item, one result. Async Batcher groups nearby requests into one bulk operation, so your model or database does less…A response icon1A response icon1
Deep Pathak·4d agoPython Asyncio Explained Simply: async, await, and Why Your Code Is Still SlowUnderstand async, await, and the event loop with easy examples.A response icon1A response icon1
InPython in Plain EnglishbyKiran Grewal·5d agoasync Won't Make Your Python Code Faster (and When It Will)I ran four small experiments to find out what async really changes, and what it doesn’t. The results are not what the hype suggests.A response icon1A response icon1
Udit Rawat·Oct 29Stop Losing Request Context in Async PythonUse contextvars deliberately across tasks, logging, and thread boundaries in Python 3.14.
Udit Rawat·Oct 26Keep Batch Failures Typed: Build Better Python APIs with ExceptionGroupPreserve error types, tracebacks, and context when independent operations fail together.
Swayam Gupta·Oct 25Who froze the event loop?In an asyncio server, every request shares one event loop. So when a new request spends about 80 ms building TLS contexts and loading a…
InSystem Design & Architecture Deep DivesbyNavya Devadiga·Oct 2512 asyncio Mistakes That Make a Python Service Slower, MeasuredOne time.sleep in an async handler froze every other request for 1.2 seconds. Twelve asyncio mistakes like it, from unbounded gather to a…A response icon1A response icon1
Muhammad Mozzammel Haque·Oct 25On 2 cores, Python threads made CPU work 19% slower. The free-threaded build made it 1.6x fasterI ran the same jobs on Python 3.13, 3.14 and 3.14t with threads, processes and asyncio, then measured the cost per task, per worker, and…A response icon1A response icon1
InPython in Plain EnglishbyMuhammad Qasim·Oct 22Build a Robust Web Scraper with Playwright and AsyncioHow to build a reliable browser automation workflow with asynchronous Python, retries, session handling, and respectful scraping practices.
Udit Rawat·Oct 22An Asyncio Timeout Does Not Stop the Threadasyncio.to_thread() is a practical bridge when an async service must call blocking code. It keeps that call off the event-loop thread, so…