Stories from the Web Crawling trenches in queues

Effective Strategies for Rate Limiting Asynchronous Requests in Python

Author: Mohan Ganesan

Date: Feb 3, 2024

Making asynchronous HTTP requests in Python applications and effectively rate limiting them using queues, retrying failed requests with backoff, and monitoring usage to stay under limits.

What is the difference between asyncio and queue?

Author: Mohan Ganesan

Date: Mar 24, 2024

Asynchronous programming in Python with asyncio and queues. asyncio for I/O bound tasks, queues for CPU bound work. Different concurrency models and performance tradeoffs.

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!