httpx vs aiohttp vs requests in 2026: Benchmarks and the httpx2 Fork
httpx vs aiohttp vs requests, benchmarked locally: aiohttp ran 9-19x faster than httpx async. Plus httpx2, the Pydantic fork the OpenAI SDK now ships.
httpx vs aiohttp vs requests, benchmarked locally: aiohttp ran 9-19x faster than httpx async. Plus httpx2, the Pydantic fork the OpenAI SDK now ships.
Python tenacity tutorial with runnable code: exponential backoff, jitter that survives the max cap, Retry-After on 429s, async retries and fast pytest tests.
asyncio TaskGroup vs gather, run side by side: gather leaves siblings running after a failure and silently drops later errors. TaskGroup cancels them all.
Python 3.15's built-in sampling profiler (Tachyon) attaches to a running process by PID, no code changes. Hands-on: attach, flamegraph, wall vs CPU vs GIL.