How to Avoid Throttling When Scraping at Scale

Throttling is a site telling your scraper to slow down, and the way to avoid it is to stay under the limit the target tolerates, notice early when you are drifting toward it, and make every request count. Most of that is engineering discipline: pacing, bounded retries, caching and monitoring. The rest is network identity. Traffic from real mobile carrier IPs, spread across the US cities you actually need data from, looks like ordinary visitor traffic, and that is where we come in with Masklabs.
This guide is for developers, data scientists, marketers and analysts who run automated collection and want it to stay fast and complete. It covers what throttling looks like, how to find your safe rate, how to retry, how to reduce load, and where mobile proxies fit.
TL;DR
- Throttling comes in two forms: loud (429 and 503 responses) and quiet (rising latency with no errors). Watch both.
- Start slow, raise concurrency gradually, and treat the target's tolerance as the real speed limit.
- Retry with a cap, jitter and a global deadline. Never retry immediately, and stop when refusals repeat.
- Caching, deduplication and scheduling cut the number of requests you need at all.
- Real US carrier IPs with city targeting and sticky or rotating sessions give your pacing a clean footing. They do not replace it.
Table of Contents
- What throttling looks like in your logs
- Find the rate the site can tolerate
- Retry without making things worse
- Send fewer requests in the first place
- Monitor the trend, not just the errors
- Where real carrier IPs fit
- Respect the boundary when a site says no
- A worked example: price monitoring across regions
- Start with a plan that matches your volume
- Perspective
- FAQ
- Sources
What throttling looks like in your logs
A site can respond to a scraper in two ways: it can refuse requests, or it can quietly make them expensive.
Loud throttling: status codes
The obvious signals are 429 (too many requests) and 503 (service unavailable). Scrapy's documentation on optimizing a crawl says the limit that matters is the one the target website tolerates. Exceed it and you get throttled, served errors or banned. The signs it lists are growing counts of 429 and 503 responses, growing retry counts, and download latency that climbs as you raise concurrency.
Quiet throttling: latency drift
The harder case has no error at all. A write-up on hidden throughput decay describes a 30-minute batch in which average latency rose from 210 ms to 1.9 s and effective requests per second fell 68%, from 18.4 to 5.9, with zero errors. The author points to mechanisms such as tarpitting, byte-dripping and per-IP pacing ramps, all visible in curl's timing breakdown. He also notes that a 429 is a signal an operator will act on, while a two-second delay is easy to ignore, which is why a throughput-trend alarm in his setup fired 47 minutes before the first 429 would have appeared.
The practical lesson: if you only alert on status codes, you respond to the end of the incident. Track latency percentiles and requests per second as well.
A quick diagnostic checklist when a job slows down:
- Compare time to first byte against total time. A large gap suggests the server is dripping the response.
- Check whether latency rose as you raised concurrency. If so, the target is the bottleneck, not your code.
- Check whether the slowdown is per IP or per site. Per-IP pacing shows up as one identity slowing while others stay normal.
- Look at retry counts. A rising retry rate often precedes a hard block.
Find the rate the site can tolerate
The most reliable way to avoid throttling is to never ask for more than the site is willing to give. That means measuring, not guessing.
Start from what the site publishes
Read robots.txt first. Scrapy advises translating Crawl-delay and Request-rate directives into its DOWNLOAD_DELAY and concurrency settings, using documented APIs or bulk exports when they exist, and crawling when the site is idle in its own time zone. Published limits come first. Anything you infer yourself is a fallback.
Use sensible starting points
Scrapy's generated projects default to one request per second per domain, with CONCURRENT_REQUESTS_PER_DOMAIN capping in-flight requests and DOWNLOAD_DELAY setting the minimum gap between consecutive requests to a domain, per its optimization guide. Where no rate is published, a guide on ethical request rates suggests starting ordinary public pages at one concurrent navigation per hostname with a two-to-five-second interval, and five to ten seconds or longer for small sites or sites of unknown capacity. Those are starting heuristics, and a published limit overrides them.
Let the crawler adapt
Scrapy's AutoThrottle extension adjusts the delay for each download slot toward a target average concurrency. The documented default target is 1.0, and 0.5 is given as a more conservative example. It calculates a target delay from response latency divided by target concurrency, averages it with the previous delay, and does not let non-200 responses reduce the delay. In other words, a slow or failing site makes the crawler gentler, never more aggressive.
Raise concurrency gradually
Increase concurrency in steps and watch the 429 and 503 counts, retries and latency at each step. Scrapy's guidance also warns that the bottleneck may be your own code, the scheduler or the target, so adding concurrency without diagnosing the constraint can backfire. If latency stays flat as you add workers, keep going. If it climbs, you have found the ceiling, so step back a notch and hold there.
This is also where our piece on rate limiting in large-scale automation and our overview of proxy rate limits go further into how limits behave once many workers share the load.
Retry without making things worse
Retries are where many scrapers turn a small slowdown into a block. A site that is already pushing back sees a burst of immediate repeats and tightens its limits.
A safe retry policy has four parts:
- Back off with jitter. Randomize the wait so parallel workers do not retry in lockstep. Our post on scraper retry logic compares three jitter options and explains why one global deadline matters.
- Honor Retry-After. When a 429 or 503 carries that header, wait at least that long. The value can be a number of seconds or an HTTP date, and some responses will not include it, so your code needs a fallback delay.
- Cap attempts. Three to five tries per URL is plenty. Beyond that, queue the URL for a later pass instead of hammering it.
- Use a circuit breaker. A guide to collecting data politely recommends halting work after repeated refusals or errors, alerting a person, and requiring human review before resuming. That keeps one misbehaving job from burning through your budget or your reputation with a target.
Set timeouts too. It is better to abandon a hung request and reschedule it than to hold a connection open while a tarpit drips bytes at you.
For a broader view of what each retry costs you, see our checks on catching silent scraper failures. It is also worth reading how a related write-up on recognizing overload signals in Facebook group scraping frames limits and safer routes to the same data.
Send fewer requests in the first place
The cheapest request is the one you never make. Three habits cut load sharply.
Cache and collect incrementally
Check content hashes before reprocessing, set cache duration to match how fresh the data needs to be, and use Last-Modified headers, updated_at fields or page hashes to fetch only what changed. A page that changes weekly does not need a daily fetch.
Deduplicate at two levels
The first level is the same URL crawled twice, which a seen-set at the queue solves cheaply. The second is different URLs that return the same content, which needs content hashing such as SHA-256 or near-duplicate detection such as SimHash. Both save requests, and skipping writes for unchanged records also saves storage.
Schedule on purpose
Give each job a frequency, a concurrency budget, a time window and a priority. Run heavy crawls when the target is idle in its own time zone, and keep high-priority, time-sensitive jobs separate from bulk backfills. Our write-up on scraping at scale breaks a pipeline into nine components and separates discovery (finding URLs) from retrieval (fetching them), which makes this kind of scheduling much easier.
Bandwidth is part of the plan too. If you pay per byte, your budget follows from page size, request volume and retry rate. Our post on estimating scraping bandwidth turns five inputs into a number you can plan around.
Monitor the trend, not just the errors
Good monitoring catches throttling while it is still soft. Export these as metrics and correlate them with structured logs:
| Metric | What it tells you |
|---|---|
| Request rate | Whether you are inside your intended budget |
| 429 and 503 ratio | Hard throttling |
| Latency percentiles (p50, p95) | Soft throttling and tarpitting |
| Retry rate | Early pressure before a block |
| Duplicate-skip ratio | Whether dedup and caching are still working |
| Parse-failure rate | Pages returning something other than what you expect |
Alert on trends. A p95 latency that doubles over twenty minutes deserves a page to a human long before the first 429.
Where real carrier IPs fit
Once your pacing is sound, network identity is the next variable. Many sites weigh where a request comes from: a datacenter range, a residential line or a mobile carrier. Datacenter ranges are often scrutinized harder because they host far more automation than ordinary visitors. Mobile carrier IPs belong to the networks real people browse on, so requests from them are treated like everyday user traffic.
That is the design behind Masklabs. We provide real US mobile carrier IPs rather than datacenter proxies, which is built so your data requests look authentic and are less likely to run into blocking or throttling. A few features map directly to the problems above:
- City-level targeting across 46 US cities. When prices, availability or search results differ by place, you collect them from the place that matters. Pick a location only when it matches your legitimate research purpose.
- Sticky and rotating sessions. Use sticky sessions for multi-step flows where one consistent identity matters, such as a login or a paginated cart, and rotating sessions for broad, independent page fetches. Our guidance on fixing TLS first to avoid IP blocks explains why the client fingerprint has to match the story your IP tells.
- HTTP, HTTPS and SOCKS5 support. It works from Python, Node.js, Java, C#, Rust and browser automation tools, so you are not rewriting your stack.
- Per-byte metered billing. You pay for the data you move, which rewards the caching and deduplication habits above.
- Credential management and a usage dashboard. Teams can manage credentials themselves and watch consumption, so you can compare bandwidth against your plan as a job runs.
Better IPs do not raise the ceiling a site sets. A pool of clean identities lets you honor a per-IP limit across many sessions and locations, but your request budget per site stays your responsibility.
Respect the boundary when a site says no
Some refusals are not throttling. A repeated 403, a CAPTCHA, an explicit block or a request from the site owner marks an access boundary. The request-rate guide says to pause and review your authorization at that point rather than switching IPs to keep going, and it advises against rotating proxies after a refusal. Treat it the same way: stop, check the terms and the permission you have, and resume only when it is clear.
When a site keeps pushing back, the better route is usually a different one. The same polite-collection guide recommends looking for an official API, a licensed feed, an export or an open dataset before scraping pages, and collecting only the page data those routes cannot supply. If you are unsure what a site permits, read its robots.txt, and see how site owners think about robots.txt rules for AI bots to understand what they are trying to protect. For background on how automated fetchers are normally treated, there is a clear explainer on how search engine crawling works.
If your problem is a 403 rather than slowdown, our eight quick checks for 403 Forbidden errors walk through the usual causes in order.

A worked example: price monitoring across regions
Say you track prices for 2,000 product pages in five US cities, refreshed twice a day.
- Read robots.txt and any published API terms. Set the per-host delay to at least the Crawl-delay, or begin at several seconds if none is given.
- Cache page hashes. If only 15% of products change between runs, the second run needs roughly 300 fetches per city rather than 2,000.
- Spread jobs by city so each location has its own queue and its own pacing budget.
- Run with AutoThrottle or an equivalent adaptive delay, target concurrency at 0.5 to start, and raise slowly.
- Alert on p95 latency and retry rate, with a circuit breaker after repeated refusals.
- Review the dashboard weekly: bytes per run, retries per run, and the duplicate-skip ratio.
The numbers are illustrative, but the structure is the point: pacing, change detection and per-location budgets do the heavy lifting, and clean mobile IPs keep each location's traffic looking like normal local browsing.
Start with a plan that matches your volume
If you want carrier IPs in the cities you collect from, our plans are priced by monthly data pool size: Starter is $30 per month, Basic is $100 per month, Advanced is $500 per month and Scale is $1,000 per month, with prepaid data add-ons billed per GB and a free trial with limited data. You can set up credentials yourself and start without a sales call or long-term commitment. See the Masklabs pricing page to match a plan to your bandwidth estimate.

If you are building a browser-automation workflow, our guide on reliable automated browsing and scraping shows how the pieces fit together.
Perspective
Most throttling problems we see discussed are really pacing problems wearing a network costume. Teams reach for more IPs when the fix is a slower, steadier request rate and a retry policy that backs off.
That said, identity matters once the basics are right. We built Masklabs on real US carrier IPs because requests from genuine mobile networks look like the traffic those sites already serve all day. Pair that with city-level targeting, sticky sessions for multi-step flows and rotating sessions for broad fetches, and your collection runs steadier with fewer interruptions.
Our advice: set a conservative budget per site, watch latency as closely as errors, and let a per-byte meter push you toward caching and change detection. Do that, and a plan that fits your data pool goes a long way.
Jon
FAQ
What is the difference between throttling and blocking?
Throttling slows you down: higher latency, 429 or 503 responses, or dripped bytes. Blocking refuses you outright, often through repeated 403s or a CAPTCHA. Throttling is usually a warning, so treat it as the cue to lower your rate before it becomes a block.
How fast can I scrape a site safely?
Start with whatever the site publishes in robots.txt or its terms. If nothing is published, begin around one concurrent request per host with a two-to-five-second interval, or slower for small sites, then raise concurrency gradually while watching 429 counts, retries and latency. Published limits always take priority over these starting points.
Should I rotate IPs every time I get a 429?
No. A 429 means slow down, so wait for the Retry-After period or back off with jitter. Rotation is for spreading independent requests across sessions and locations within your rate budget, and it should not be used to continue after a refusal.
Do mobile proxies stop throttling?
They reduce the chance that requests are treated as automation traffic, because carrier IPs look like everyday mobile visitors. Your pacing, retries and caching still determine how much load you put on a site, so use both together.
Sources
- Scrapy documentation: Optimization
- Scrapy documentation: AutoThrottle extension
- Throughput Decay Before the 429s: Fix Hidden Throttling
- Ethical request rates: How much scraping traffic is too much
- Collecting Data Politely: Rate Limits, robots.txt and more