Concurrency & Performance
15 min read
Threads, processes, or asyncio? I measured where each one helps in Python
I timed three slow API calls and three CPU-heavy calculations with threads, processes, and asyncio on my own machine. Here are the numbers, and why each approach helped where it did.
- #python
- #concurrency
- #asyncio
- #multiprocessing