What is a moving time window and how is it used to throttle requests?

Viewed 15

In the aiohttp_scraper package it says

Uses a moving time window to throttle requests per domain and proxy

but I don't understand it. What does it mean?

What would happen if I for example chose this values?

window_size_in_minutes=1,
max_requests_per_window=1,

Would this mean only one request per minute for a proxy in a domain, but other proxies are still allowed requesting that domain, and the same proxy is still allowed requesting other domains?

0 Answers
Related