What it means
Limiting the rate or quota of requests over a period of time to control resource use. A crawler can also limit its own request rate to avoid continuously sending requests too quickly.
Requests per second, concurrency at the same time, and daily quota are different constraints. Low concurrency may continuously exceed the per-second limit; increasing concurrency may not necessarily increase effective throughput.
For collection tasks, you should observe the response status, response time, and service announcement rules, and set the rate, concurrency, and failure backoff. When you encounter a 429, you should look at the wait information provided by the server rather than immediately adding retry pressure.
Focused check 2026-11-26: pool concurrency caps and rate scheduling are different mechanisms. aiohttp TCPConnector limits parallel connections globally or per (host, port, is_ssl) endpoint; it does not count requests sent in a second. Hypothetically, two connections receiving fast responses may repeatedly send several requests within one second. Thus limit=2 is not a two-requests-per-second limiter. Schedule request timing separately and respect 429/backoff rules. This is a hypothetical example, not a throughput measurement.
In a scraping task
Distinguish between concurrency and request rate
The task runs 2 requests at the same time, but each request completes quickly, and it is still possible to make many requests in a second. If the target limits the flow by requests per second, it is not enough to limit the number of tasks running at the same time.
Common misconceptions
- The number of concurrency is not the number of requests per second, and the two are not directly interchangeable.
- The rate allowed by one site cannot be directly applied to another site or another type of interface.
References
Organized by Northleaf Studio. The source link retains the original address to facilitate continued reading.
- RFC 6585:429 Too Many Requests
Original sources · Checked 2026-11-28
- AWS Architecture Blog: exponential backoff and jitter
Primary source · Checked on 2026-11-22
- aiohttp: connection pool limits
Primary sources · Checked 2026-11-26