Stories from the Web Crawling trenches in resource usage

Optimizing aiohttp for High Concurrency

Author: Mohan Ganesan

Date: Mar 3, 2024

Asynchronous frameworks like aiohttp in Python enable building highly concurrent applications. Tuning connection limits is key to building a robust, high-throughput async system.

Build High Performance Asyncio Web Servers in Python

Author: Mohan Ganesan

Date: Mar 25, 2024

Python's asyncio module allows you to write non-blocking, event-driven network code. This makes it possible to build very high performance web servers that can handle thousands of concurrent connections with very low resource usage.

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!