Stories from the Web Crawling trenches in parallel programming

Async IO vs Thread Pools in Python: When to Use Each

Author: Mohan Ganesan

Date: Mar 17, 2024

Python provides two major approaches for concurrent and parallel programming: asyncio and thread pools. Choosing the right concurrency tool can impact performance, scalability, and code complexity.

What is the difference between parallel and async in Python?

Author: Mohan Ganesan

Date: Mar 24, 2024

Python offers two options for performing multiple tasks simultaneously: parallel programming, which leverages multiple CPU cores, and asynchronous programming, which allows long-running functions to yield control back while waiting.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!