NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Proxies and networking

What proxy setup suits large-scale scraping?

Several pools of different strength, a routing layer that sends each target to the cheapest pool that works for it, sessions your code controls, and health and cost tracking per address and per site.

The answer

At small scale, one proxy list and random rotation can work. At large scale they waste money and burn addresses. A durable setup has four parts: tiered pools (datacenter, ISP, residential, mobile), a router that maps each target and request type to a pool, a session manager that decides when to keep or change an IP, and a health and cost tracker that scores addresses and meters bandwidth per site. Your scraper asks the router for a proxy per job instead of picking one itself.

Tiered pools

TierStrengthsUse for
Datacenterfast, cheap, unmetered or cheap per GBpermissive sites, APIs, assets, sitemaps
ISPstable consumer-looking addresseslong sessions, logged-in monitoring
Residentialhigh trust, wide geography, meteredstrict retail, travel, search
Mobilehighest trust, costly, slowerthe hardest targets only

Start every new target on the cheapest tier and promote it only when measured block or challenge rates require it.

The routing layer

Keep routing rules in configuration, keyed by target host and request kind:

routes:
  shop.example.com:
    pages:   { tier: residential, session: sticky, ttl_min: 10, country: DE }
    images:  { tier: datacenter }
    api:     { tier: isp, session: sticky, ttl_min: 30 }
  news.example.org:
    pages:   { tier: datacenter, session: rotate }
defaults:
  tier: datacenter
  max_rpm_per_ip: 20

A small service or library reads this and hands out a proxy URL per job. Changing a target's tier becomes a config edit, and you can see at a glance where expensive bandwidth goes.

Sessions under your control

Most residential gateways let you pin a session by a parameter in the username or a port. Let your code create session ids, bind each to one browser identity (user agent, language, time zone) and one job flow, and end it on purpose: after the flow finishes, after a time limit, or when the site starts challenging it. Rotating per request suits independent page fetches; multi-step flows need one IP from start to finish. The comparison of rotating and sticky proxies goes into the details.

Health tracking

Record for every request: proxy or session id, target, status, whether a challenge appeared, latency and bytes. From these, keep a rolling score per address per target. Pull addresses that fall below a threshold out of rotation for that target for a cool-down period, then test them again. This turns proxy quality from a guess into data and makes provider comparisons objective.

Bandwidth and cost

Metered tiers make every byte count. Block images, fonts and media in browsers that use residential exits, compress responses, and route static assets through cheaper tiers. Track bytes per successful record per target; a target that suddenly costs twice as much per record usually changed its pages or started serving challenges.

CAPTCHAs in the same picture

Even good routing leaves some challenges, and solving should be wired into the same layer. When a page shows a token widget, a proxyless task is normally enough and costs no proxy bandwidth. When the answer is tied to an IP, as with a Cloudflare Challenge or DataDome Slider task, the router should supply the session's proxy to the task so the cookie matches the address that will use it. The format is described in proxy format for tasks. Counting solves per tier also shows whether a cheaper tier plus solving costs less than a pricier tier with fewer challenges.

Common mistakes at scale

  • One global pool for all targets, so a strict site burns addresses a permissive site could have used.
  • Sticky sessions shared by many concurrent workers, multiplying per-IP rate.
  • No per-target rate cap, so adding workers adds blocks.
  • Paying residential rates for images and scripts that a datacenter IP could fetch.

The sizing question is covered separately in how many proxies you need.

Common questions

Do I need residential proxies for everything at scale?

No. Route only strict targets to residential or mobile tiers and send the rest through cheaper datacenter addresses.

Should the scraper pick proxies itself?

It is better to have a routing layer hand out proxies by target, so rules and costs live in one place.

What is a sensible lifetime for a sticky session?

As long as the flow needs, often 5 to 30 minutes, and shorter if the site starts challenging it.

How do I compare proxy providers fairly?

Run them on the same targets at the same pace and compare block rate, challenge rate, latency and cost per record.

Do CAPTCHA tasks use my proxy bandwidth?

Proxyless tasks do not. Tasks that take your proxy use it for the solve, which matters only on metered tiers.

Keep reading