Concurrent Connections: Buying and Sizing Proxy Capacity

Compare connection limits by what is counted and where the limit applies, then choose exit origin, persistence and sharing as separate decisions.

Compare connection limits by what is counted and where the limit applies. Then choose exit origin, persistence and sharing separately; they are different decisions from capacity. This guide uses Node4's connection-priced rotating plan, Rotating Unmetered, as the worked example.

It is a decision guide for Node4's own products, written by Node4. It does not measure or compare other providers' connection limits. To evaluate another provider, put the same questions to its documentation.

TL;DR

  • An address count is not a concurrency limit. Ask what unit is counted and whether the limit applies per account, per credential or per source address.
  • Exit origin, rotation, session persistence and sharing are separate choices, and none of them states a connection allowance.
  • Size the application's own pool against the account-wide budget, with headroom for retries.
  • Check that requests execute, then validate the bodies, before you count a result as useful.

Four questions for any connection limit

  1. Counting unit. Does the limit count open sockets, tunnels, in-flight requests, sessions, or something else?
  2. Enforcement scope. Does it apply to the account, to one credential, to one source address, or to one server?
  3. Behavior at the limit. Is a new connection refused, queued or slowed, and what happens to connections already open?
  4. Billing unit. Are you paying for connections, gigabytes or addresses? The billing unit tells you which resource a bigger plan buys.

An advertised thread count without answers to these cannot be turned into an application setting.

Node4 products on those questions

The table covers each product Node4 sells. Only one of them, Rotating Unmetered, sells a counted connection allowance; the others are billed by data or by address, and their capacity is limited in practice by your client, your host and the destination.

ProductCounting unitEnforcement scopeDocumented allowanceBilling unitOrigin and session behaviorUnknowns
Rotating UnmeteredOne open connection: an HTTPS CONNECT tunnel for its whole life, a plain-HTTP request while it is in flight, a SOCKS5 connection for its whole lifeThe account, counted once across every gateway server; all credentials, source addresses and whitelisted connections share it, and two plans of this type add togetherThe connection count on the plan, from $29.00/month for 250 connections ($0.116 per connection) to $249.00/month for 4,000 connections ($0.062 per connection)Monthly, by connection count; bytes are not meteredOwned datacenter exits in the US, Italy and Spain; an exit is drawn per connection and can repeat; a sticky session holds one exit for up to 30 minutes from first assignmentHow many distinct exits a batch receives; how the destination treats datacenter traffic
Rotating DatacenterNo connection count on the planNo per-account connection ceiling at the gatewayNone; the plan is a data allowancePer gigabyteSame exit pool and sticky behavior as Rotating UnmeteredPractical concurrency depends on your client, host and destination
Shared datacenterPlan thread figures are fair-use guidance, not a counted ceilingEach node has a high per-source-address connection brake that protects the node; it is not a plan allowanceNone enforced per accountPer proxy per month, with 3 GB per proxy, pooled across your orderFixed owned exits in the US, Italy and Spain; other customers use the same addressesHow the destination treats an address other customers also use
Dedicated datacenterAs shared: fair-use guidance, not a counted ceilingAs shared: the per-source-address node brakeNone enforced per accountPer proxy per month; bandwidth is not meteredFixed owned exits in the US, Italy and Spain, used by your account onlyHow the destination treats datacenter traffic
ResidentialNo connection count on the planNo per-account connection ceiling at Node4's gateway; exits come from an upstream supplierNone; the plan is a data allowancePer gigabyteResidential exits resold from an upstream supplier, with country, state, city and session targeting; a session is best effort with a 30-minute ceilingCapacity within a given country, and any supplier-side limit, are not published

Rotating Unmetered connection limits is the current authority on how that allowance is counted, refused and reported; plan sizes and prices are on Rotating Unmetered pricing. The other products are priced on /pricing.

At the limit, Rotating Unmetered refuses the new connection and leaves open ones alone. Over HTTP the refusal is a 429 carrying an X-Node4-Conn-Limit header, which separates it from a 429 sent by the destination. Over SOCKS5 it is reply code 0x02, the same code a wrong password gets, so the live connections panel is how you tell those two apart.

Choose origin, persistence and sharing separately

Capacity is one decision. These are others, and any combination of them can apply to one product:

  • Exit origin. Datacenter exits come from Node4's owned blocks in three countries. Residential exits come from an upstream supplier with far broader country choice. Residential coverage says nothing about datacenter coverage, or about how many connections a country can carry.
  • Persistence. Datacenter can be fixed (shared and dedicated) or rotating (both rotating plans). A sticky session gives temporary continuity on a rotating gateway; a fixed address keeps the same assignment until it is replaced or the plan ends.
  • Sharing. Shared addresses are fixed but used by other customers; dedicated addresses are fixed and yours alone. Rotating exits come from a pool every rotating customer draws on.
  • Meter. Rotating Datacenter and Rotating Unmetered draw the same exits; the only difference is whether you pay by gigabyte or by connection. Pay by the gigabyte for light use and by connection for heavy, steady use.

Settle origin, persistence and sharing from what the job and the destination require. Then pick the meter, and only on the connection meter size the plan by concurrency.

Turn an allowance into an application limit

Start with a written answer to what counts as a connection. HTTP keep-alive can reuse a connection across sequential requests. An HTTPS proxy tunnel can remain open between requests. Browser automation can open several network connections for one page.

So a worker count is not always a socket count. Review these boundaries separately:

  1. Provider boundary: the counting unit and enforcement scope in the contract.
  2. Client boundary: connection-pool limits, task scheduling and connection cleanup.
  3. Target boundary: authorized request rates and target-specific restrictions.
  4. System boundary: file descriptors, memory and network resources on your host.

Do not let a per-process limit stand in for an account-wide one. When the allowance is enforced per account, as it is on Rotating Unmetered, every process, container and project using that account draws on one budget. Give each a share, or schedule them from one queue.

Reserve capacity for retries and operational checks. If every worker retries immediately after a failure, the application creates a burst exactly when the service is already under pressure. Back off instead, and treat a gateway 429 as a signal to open fewer connections, not to retry faster.

Run a bounded execution check

Use a destination you control or have permission to test. This is a connection-execution check: it shows whether a small parallel batch completes through the proxy, and saves each response under its own name so the second step can inspect it. It does not measure a provider's maximum concurrency.

Set PROXY_URL, PROXY_USER, PROXY_PASS and TARGET_URL in your local environment. Keep credentials out of source control and shared logs.

: "${PROXY_URL:?Set PROXY_URL}"
: "${PROXY_USER:?Set PROXY_USER}"
: "${PROXY_PASS:?Set PROXY_PASS}"
: "${TARGET_URL:?Set TARGET_URL}"
OUT=$(mktemp -d)
export PROXY_URL PROXY_USER PROXY_PASS TARGET_URL OUT

# Illustrative settings, not a provider limit.
WORKERS=4
REQUESTS=12

seq "$REQUESTS" | xargs -P "$WORKERS" -I '{}' sh -c '
  n=$1
  curl -q --silent --show-error \
    --noproxy "" \
    --proxy "$PROXY_URL" \
    --proxy-user "$PROXY_USER:$PROXY_PASS" \
    --connect-timeout 10 \
    --max-time 30 \
    --dump-header "$OUT/$n.headers" \
    --output "$OUT/$n.body" \
    --write-out "connect=%{http_connect} status=%{http_code} total=%{time_total}\n" \
    "$TARGET_URL" > "$OUT/$n.result" 2> "$OUT/$n.stderr"
  echo "exit=$?" >> "$OUT/$n.result"
' _ '{}'

echo "Saved in $OUT"
grep -H . "$OUT"/*.result

Four curl processes run at once across twelve requests. Each request writes its own .headers, .body, .result and .stderr file, numbered by request, so parallel processes never overwrite each other. The 10-second connection timeout and 30-second total timeout are test settings, not service specifications or measured results.

Each process makes one request and does not follow redirects. connect= is the proxy's answer to the HTTPS CONNECT (it stays 000 for a plain-HTTP target), status= is the destination's status, and exit= is curl's own exit code. A production client with persistent connections or browser subresources behaves differently, so repeat the check with your real application before sizing a deployment.

Validate the responses before counting results

A completed request is not a useful result. A 200 body can hold an error page, a consent wall or an empty template. Set EXPECT to a string every valid page from your destination contains, then classify the saved files:

: "${EXPECT:?Set EXPECT to text every valid response contains}"
for r in "$OUT"/*.result; do
  n=${r##*/}; n=${n%.result}
  if grep -qi '^X-Node4-Conn-Limit:' "$OUT/$n.headers" 2>/dev/null; then
    echo "request $n: refused at the account connection limit"
  elif grep -q 'connect=407 ' "$r" || grep -qE '^HTTP/[0-9.]+ 407' "$OUT/$n.headers" 2>/dev/null; then
    echo "request $n: proxy authentication refused (407)"
  elif ! grep -q '^exit=0$' "$r"; then
    echo "request $n: transport failure, see $OUT/$n.stderr"
  elif ! grep -q 'status=200 ' "$r"; then
    echo "request $n: destination answered $(grep -o 'status=[0-9]*' "$r")"
  elif grep -qF -- "$EXPECT" "$OUT/$n.body"; then
    echo "request $n: valid"
  else
    echo "request $n: 200 without the expected content"
  fi
done

Keep these outcomes apart when you compare runs:

  • Gateway refusals: connections turned away at the account limit.
  • Transport failures: connection errors, timeouts and interrupted transfers.
  • Proxy authentication failures: a 407 from the proxy, checked before the generic exit code because a refused CONNECT also makes curl exit nonzero.
  • Destination responses: status codes and timing from the target.
  • Application validity: whether the body contains the expected data.
  • Retry activity: extra attempts needed to finish the batch.

A destination 429 means too many requests, but not which layer imposed the restriction. Read the headers before increasing proxy capacity. Then raise concurrency one step at a time, keeping the destination set, payload expectations and client settings fixed, and stop at the level where valid results stop rising.

A bigger allowance does not fix a leaking client

A larger connection allowance cannot repair a client that leaves connections open. On a connection-counted plan, an idle kept-alive tunnel holds its slot as long as it stays open. Check response-body consumption, timeout handling and connection cleanup before changing plans; otherwise the next allowance fills with the same unfinished work.

FAQ

Does one proxy IP support only one connection?

No. An IP address is not inherently limited to one connection. The provider's counting rule, your client configuration and your host's resources set the limits that apply.

Are concurrent connections the same as requests per second?

No. Concurrent connections describe simultaneous network connections; requests per second describe throughput over time. Connection reuse and response duration set the relationship between them.

Does a sticky request restart the session timer?

No. On Node4's rotating gateway, a sticky session holds one exit for up to 30 minutes from first assignment, not from the latest request. Your application has to handle the end of that window.

Should I increase concurrency after receiving HTTP 429?

No. Reduce pressure and find out who sent it first. A gateway refusal at the plan limit names itself in a header; a destination 429 is about request rate, not a need for more simultaneous connections.

Can browser tabs be counted as proxy connections?

Not reliably. One page can open several network connections, so measure the browser's actual connections and apply the provider's counting rule to those.