Back to Browse

Rate Limiting API Requests with asyncio, aiohttp and semaphores

12.0K views
Sep 18, 2019
6:41

Asynchronous programming in Python is insanely fast. So fast, that making HTTP requests can cause unintentioned DDoS attacks. After a lot of searching for ways to perform rate limiting API requests, semaphores seem to be the easiest implementation to avoid overwhelming web servers.

Download

1 formats

Video Formats

360pmp410.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Rate Limiting API Requests with asyncio, aiohttp and semaphores | NatokHD