How many proxies does large-scale Amazon scraping require?

Estimate usable exits and concurrent connections from your request rate, retries and collection window, with a worked example and a calculator.

Estimate the exit count from the request rate your job needs and the rate one exit can sustain on that same job in a controlled test. Count retries and rejected results as attempts, round up, then size concurrent connections separately. There is no single proxy count that fits every Amazon workload, because the per-exit rate is something you measure, not something you can look up.

A worked estimate

The inputs below are invented for illustration. They are not measured Amazon limits, not a Node4 benchmark, and not a promise about how many addresses any pool will hand you.

Suppose a job must deliver 100,000 accepted records in one hour. Testing shows it takes 1.2 attempts per accepted record once retries and rejected responses are counted. A controlled test of this workload sustained 0.25 attempts per exit per second, and each attempt holds a connection for 1.5 seconds on average.

StepCalculationResult
Attempts needed100,000 records × 1.2 attempts/record120,000 attempts
Attempt rate120,000 attempts ÷ 3,600 s33.33 attempts/s
Usable exits33.33 attempts/s ÷ 0.25 attempts/s per exit = 133.3, rounded up134 exits
Average concurrent connections33.33 attempts/s × 1.5 s per attempt50 connections

The two answers measure different things. 134 is how many distinct addresses you need so that no single one exceeds the tested rate. 50 is how many connections are open at once on average. Spread across 134 exits, that is about 0.37 open connections per exit, so most exits sit idle most of the time even while the job runs at full speed.

The per-exit rate drives the exit count more than anything else. Holding the job, the validation rules and the one-hour window constant:

Hypothetical sustainable rate per exitEstimated exits for 33.33 attempts/s
0.10 attempts/s334
0.25 attempts/s134
0.50 attempts/s67

The table shows which assumption moves the answer. It is not a recommendation to send traffic at any of those rates.

Two limits apply to the result:

  • 50 connections is an average, not a peak. Occupancy scales with latency. If responses slow so each attempt holds its connection for 3 seconds, the same 33.33 attempts/s needs 100 connections on average. Synchronized job starts and retry bursts push the peak higher still, so measure the peak in a staged test instead of adding an arbitrary reserve.
  • 134 is a requirement, not an allocation. It tells you how many usable exits your job needs. It does not show that a rotating pool will assign 134 distinct addresses to you on demand, so check exit reuse during your test.

To try your own numbers, use the proxy calculator. It takes a failure percentage rather than attempts per record. The conversion is failure rate = 1 − 1 ÷ attempts per record, so 1.2 attempts per record is about 16.7%. With 100,000 requests, a one-hour window, 0.25 requests per IP per second and a 16.7% failure allowance, it also returns 134. Its bandwidth figure and plan suggestion rest on its own assumptions, which the page explains. How many proxies do I need? walks through the same arithmetic for jobs that are not Amazon-specific.

What changes the inputs on an Amazon job

Each input in the example comes from your own workload, and Amazon jobs vary in ways that move all of them.

  • Collection window. Halving the window doubles the attempt rate, and with it the exit and connection estimates, for the same record count. A request to finish earlier is a capacity change, so keep the window next to the record target in the job configuration where reviewers see it.
  • Page mix. Search pages, product-detail pages and browser-rendered flows do different amounts of work per attempt. Benchmark the requests the job actually sends, and size each job type separately: a blended average hides the slow segment that sets the deadline.
  • Marketplace and location. A response from the wrong regional context fails validation even when the connection succeeds, which raises attempts per record.
  • Session requirements. Requests that need consistent state constrain how freely the scheduler can move between exits.
  • Duplicate work. Re-fetching records you already hold raises the attempt rate without adding output. Fix deduplication before buying capacity.

The attempts-per-record figure depends on what you count as a success, so write that rule down before measuring. For a product-detail job, an accepted record might require the requested identifier, the intended marketplace and every field your application consumes. A challenge page, the wrong marketplace or a missing price is an HTTP response, not a record.

Count a legitimately absent field separately from a parser failure. Merging them hides why the accepted-record rate fell. Use the same rule in development, in capacity tests and in production; otherwise a faster run can look successful simply because validation became less strict.

Exits, connections and workers are different units

An exit is the address the destination sees. A concurrent connection is an open connection through the proxy service. A worker is a slot in your own scheduler. The example above produced 134 of the first and 50 of the second, and neither number tells you the third.

Capacity unitWhat it measuresWhat it does not establish
Usable exitsDistinct exit addresses suitable for the workloadA fixed accepted-record throughput
Concurrent connectionsConnections open at the same timeDistinct IP addresses
Application workersTasks your client can scheduleThe provider's connection allowance
Accepted recordsOutput passing your validation ruleTotal attempts or data transferred

A worker does not need its own exit. Map workers to sessions and sessions to exits explicitly when continuity matters, so a failed record can be traced back to the routing that produced it.

Session behavior also changes what an exit count means:

ApproachSuited toLimitation to test
Fixed exit assignmentWorkflows that need one consistent addressCapacity is tied to the exits you hold
Rotation on new connectionsIndependent requests with no shared stateRequests reusing an open connection keep its exit, and a new connection can land on an exit used before
Sticky sessionsRelated requests that need address continuityContinuity ends when the session expires

These are routing behaviors, not statements about what Amazon accepts. Test the one you choose with your real request sequence.

Node4 sells HTTP and SOCKS5 proxies for developers and data teams. Residential proxies cover 170+ countries through upstream-sourced addresses. The datacenter, shared and rotating products use owned IP blocks in the United States, Italy and Spain. On the rotating gateway, the exit is chosen per connection, and a sticky session holds one exit for up to 30 minutes from first assignment, not from the latest request; how long a rotating proxy keeps the same IP address covers the details. Rotating Unmetered is sold by concurrent connections, so it maps to the connection side of the estimate: a plan's connection count is not a count of distinct exits.

Measuring a representative permitted workload

Start with a workload you are authorized to collect. Review the applicable terms, access restrictions and data obligations first; proxy access does not grant permission to collect data. Can proxy usage violate a website's terms of service? covers that question in more depth.

Write the test specification before sending traffic:

  1. Name the marketplace, page type, permitted method, required fields and collection window.
  2. Fix the page selection and validation rule for the whole test. If the dataset changes along with the load, you cannot tell which one changed throughput.
  3. Run a baseline at low load and record the full request lifecycle, including timeouts and failed transfers.
  4. Raise load in stages. Stop when accepted-record throughput stops improving, errors rise, or access restrictions require stopping.
  5. Report accepted output alongside every attempt. Dropping failures makes both attempts per record and connection occupancy look better than they are.

For every attempt, log:

  • Workload and marketplace identifiers.
  • Start and completion time.
  • Provider endpoint and session identifier, without credentials.
  • The observed exit, when you can see it through an authorized diagnostic path.
  • HTTP status and the application-level validation result.
  • Retry reason and whether the record was finally accepted.

Classify failures as connection errors, access denials, challenge responses or extraction failures. They point at different fixes, and more proxy capacity repairs none of the last kind.

The sustainable per-exit rate is the highest rate at which accepted output keeps scaling in that test. Attempts per record and mean connection time come from the same logs. Those three numbers, plus your record target and window, are the full input set for the estimate.

The calculation as a script

This Python program does the same arithmetic as the worked example. It assumes no Amazon request limit; every input is yours. Save it as size_proxy_capacity.py.

import argparse
import math


def positive(value):
    number = float(value)
    if not math.isfinite(number) or number <= 0:
        raise argparse.ArgumentTypeError("Use a finite positive number")
    return number


parser = argparse.ArgumentParser(
    description="Estimate proxy capacity from measured workload inputs"
)
parser.add_argument("--records", required=True, type=positive)
parser.add_argument("--window-seconds", required=True, type=positive)
parser.add_argument("--attempts-per-record", required=True, type=positive)
parser.add_argument("--attempts-per-exit-second", required=True, type=positive)
parser.add_argument("--mean-connection-seconds", required=True, type=positive)
args = parser.parse_args()

attempts = args.records * args.attempts_per_record
rate = attempts / args.window_seconds
exits = math.ceil(rate / args.attempts_per_exit_second)
connections = rate * args.mean_connection_seconds

print(f"Required attempts: {attempts:.2f}")
print(f"Required attempts/second: {rate:.4f}")
print(f"Estimated usable exits: {exits}")
print(f"Average active connections: {connections:.2f}")
print("Validate peak connections and session constraints separately.")

Run with the illustrative inputs, it reproduces the table above:

$ python size_proxy_capacity.py --records 100000 --window-seconds 3600 \
    --attempts-per-record 1.2 --attempts-per-exit-second 0.25 \
    --mean-connection-seconds 1.5
Required attempts: 120000.00
Required attempts/second: 33.3333
Estimated usable exits: 134
Average active connections: 50.00
Validate peak connections and session constraints separately.

Enter attempts per accepted record, not attempts per requested URL. A record that never passes validation still consumed attempts, so keep it in the workload outcome rather than removing it from the denominator. Rerun the calculation whenever the window, the validation rule or the page mix changes.

When the test points somewhere other than exits

Add exits only after the measurements show exits are the constraint. Accepted throughput can also stall on client connection settings, response latency, parsing, storage or application-level rejection, and none of those improve with more addresses.

If workers queue on a full connection allowance while each exit stays under its tested rate, you need more concurrent connections, not more distinct exits. Buy the unit that matches the constraint you observed.

There is no rotation interval that makes collection succeed. Pick rotation behavior from the session continuity the job needs and the validation results you measure. A denial is not an instruction to retry through another address: respect access restrictions, and stop or rethink the collection method when they apply.

Compare providers with the same acceptance rule. A service that returns more responses but fewer accepted records has not met the requirement. For the client-side execution layer, see the high-concurrency async scraping workflow.