How Many Threads per Proxy? A 4G Concurrency Guide

Learn how many threads per proxy a 4G dongle can handle, how to ramp concurrency safely, spot 429s, and scale with measured results for real workloads.
An illustrated 4G dongle connects through a Linux box and cloud route while request lines fan toward a globe.

How many threads per proxy you can run depends on the workload, not a universal number printed on the proxy. A 4G dongle has to share its radio link, connection state, host resources, and the destination’s rate limits, so the reliable answer comes from a controlled ramp test.

Threads, connections, and requests are different

Start by naming the thing you want to measure. Proxy tools often use “thread” to mean an active worker or simultaneous session, but that is not a universal network term.

TermWhat it usually meansWhy it matters
Thread or workerA task in your scraper, test runner, or browser toolSets how many jobs you try to run at once
ConnectionAn open TCP connection between client, proxy, and destinationCan stay open across several requests
RequestOne HTTP transaction, such as a GET for a page or API responseDetermines request rate and transferred data
Requests per minuteCompleted requests during a time windowShows throughput, but hides response time unless you log it too

Five workers do not necessarily create five fresh connections for every request. A client can reuse connections, while a browser session can open several connections for one page. Ask whether your tool is limiting workers, sockets, or requests before comparing its setting with a provider’s “threads” field.

The useful planning relationship is:

concurrent requests ≈ requests per second × average seconds in flight

For example, if a job completes 2 requests per second and each request stays in flight for about 4 seconds, the workload needs roughly 8 concurrent requests. That is a planning estimate, not a capacity promise. If adding workers makes response time rise, the same worker count produces fewer completed requests.

What limits one 4G dongle

The ceiling is the first layer that becomes saturated. A small HTML request and a browser page with images, JavaScript, and several API calls can have completely different limits on the same proxy.

Limiting layerWhat to watchTypical symptom
Mobile linkDownload and upload demand, signal quality, radio scheduling, and changing latencyTransfers slow as concurrency rises
Request latencyTime spent waiting for DNS, connection setup, TLS, and the origin responseWorkers remain busy but requests per minute stop increasing
Host and USB pathCPU, memory, file descriptors, USB stability, hub power, and dongle stateTimeouts or device errors appear before the mobile link is full
Connection stateNumber of open sessions and how long they remain openNew work queues behind long-lived connections
DestinationPer-IP, account, endpoint, or global rate limitsHTTP 429, throttling, challenge pages, or dropped requests

The carrier connection is only one part of the path. A Raspberry Pi, Linux box, powered USB hub, and Huawei E3372 HiLink dongle can all be healthy while the target is asking your client to slow down. Conversely, a modest request rate can still fail if the dongle has weak signal, the host is overloaded, or a USB power path is unstable.

Do not treat the public IP as a throughput rating. A mobile IP identifies the exit path seen by the destination; it does not tell you how many concurrent requests that path, SIM data plan, modem, or target can sustain.

What you need for a useful test

Why this matters: a repeatable test gives you an operating limit for a specific workload instead of a number copied from a different network.

Prepare these items:

  1. One proxy endpoint and one labelled 4G dongle. Do not mix several dongles into the first baseline.
  2. A small URL that you own or are authorised to test. Use a health endpoint or a small static response, not a heavy page.
  3. A client that can set concurrency and record status code, connect time, total time, and errors.
  4. A starting sequence such as 1, 2, 4, 8, 12, and 16 workers. Stop earlier if the results degrade.
  5. A written pass rule. For example, require no timeouts, no unexplained 429 responses, and a p95 response time no more than twice the one-worker baseline.

Keep the test short and bounded. A useful baseline might be 20–30 requests at each level, with a pause between stages. If the destination publishes an API quota or crawl policy, stay within it; your proxy test must not become an attempt to overwhelm a service.

Step 1: Establish a one-worker baseline

Why this matters: you need a clean latency and success baseline before concurrency changes the result.

Replace the placeholders below with your authorised test URL and proxy credentials. This command sends one request at a time and records the HTTP status, connection time, time to first byte, total time, and the IP returned by curl for the connection.

curl --proxy "http://USER:PASS@HOST:PORT" \
  --connect-timeout 15 --max-time 30 \
  --silent --show-error --output /dev/null \
  --write-out 'status=%{http_code} connect=%{time_connect}s first_byte=%{time_starttransfer}s total=%{time_total}s remote=%{remote_ip}\n' \
  "https://example.com/health"

Run it several times and record the successful status codes and timing. The exact URL is not important here; a small, stable response is more useful than a page whose size or content changes during the test.

Success looks like a repeatable response through the intended proxy, with enough timing data to compare the next stages. If the one-worker baseline already has timeouts, fix the proxy path, dongle, signal, or test URL before adding workers.

Step 2: Ramp concurrency in small stages

Why this matters: small steps show where the curve changes, while a jump from 1 to 100 workers only tells you that something broke.

The following uses xargs to run five curl processes at once and repeat the same small request 30 times. It is a simple test harness, not a universal benchmark.

mkdir -p proxy-test

seq 1 30 | xargs -P 5 -I{} sh -c \
  'curl --proxy "http://USER:PASS@HOST:PORT" \
    --connect-timeout 15 --max-time 30 \
    --silent --show-error --output /dev/null \
    --write-out "status=%{http_code} total=%{time_total}s\n" \
    "https://example.com/health"' \
  > proxy-test/concurrency-5.log

Repeat the command with -P 1, -P 2, -P 4, -P 8, and so on. Keep the request count, URL, timeout, proxy, and test window consistent. Store one log per stage, then calculate:

  • successful requests divided by total requests;
  • counts of 429, 5xx, connection failures, and timeouts;
  • median and p95 total time;
  • completed requests per minute;
  • whether the dongle, host, or USB path reported a separate error.

Success is the highest stage that meets your pass rule repeatedly. Call it a steady concurrency limit, not a maximum. Leave headroom for normal variation in the radio link and response time.

Step 3: Separate proxy saturation from target throttling

Why this matters: a response from the destination can look like a proxy capacity problem even when the proxy is forwarding traffic correctly.

HTTP status 429 Too Many Requests means the user has sent too many requests in a given amount of time. The IETF’s RFC 6585 also notes that the limiting server decides how it identifies a user and counts requests; it may use a resource, server group, credentials, or another key. A Retry-After header may say how long to wait.

When you see 429s:

  1. Save the status, response headers, URL, proxy label, and timestamp.
  2. Check for Retry-After and honour it when present.
  3. Reduce request rate or concurrency for that destination.
  4. Compare with a low-volume request through the same proxy.
  5. Check whether the destination limits the account, token, endpoint, or source address separately.

Do not interpret a 429 as “this dongle supports exactly 12 threads”. It is a policy response from the destination, and the threshold can vary by endpoint or account. Rotating an IP is not a substitute for following an authorised API quota or crawl policy.

Other patterns point elsewhere. Rising total time with few HTTP errors suggests link or target saturation. Connection resets before any HTTP status suggest a client, host, modem, or network-path issue. A large jump in time_connect can point to connection setup or transport pressure rather than slow page generation.

Step 4: Use a sane starting point by job type

Why this matters: the right starting concurrency for a price check is not the right starting concurrency for a browser session or a file download.

Use the following as conservative operator starting points per dongle. They are test values, not guarantees from the modem, carrier, or destination.

WorkloadStart atRamp towardWhat to protect
Small API or price checks2–5 workers8, then higher only if results stay flatAPI quota, response latency, and request bursts
Lightweight HTML page crawl2–4 workers6–10Download volume, connection reuse, and target pacing
Browser or QA sessions1–2 sessions3–5 only after a clean testCookies, login state, page assets, and session stickiness
Large responses or downloads1–2 workers3–4Uplink/downlink capacity and data-plan usage
Mixed customer traffic2–4 total workersAdd another dongle before a large jumpFairness between jobs and predictable latency

For browser work, “one session” can create several network connections. Measure the browser’s actual request pattern rather than translating sessions directly into a thread number.

Requests per minute follows both concurrency and response time. For a simple example, 4 workers averaging 2 seconds in flight can complete about 120 requests per minute in an idealised closed loop: 4 ÷ 2 × 60 = 120. If the average time rises to 5 seconds under load, the same four workers are closer to 48 requests per minute. Use your logs, not the ideal number, when setting a customer quota or scheduler.

Step 5: Decide whether to add workers or dongles

Why this matters: pushing more threads through one mobile link often increases waiting instead of useful throughput.

Keep the concurrency level when the next increment increases p95 latency, timeout rate, or 429s without a proportional increase in successful requests. That point is your practical knee. If the workload still needs more throughput, distribute it across another dongle rather than forcing one IP and one radio link to carry every worker.

The scale-out pattern is straightforward:

  1. Keep a stable concurrency budget per dongle based on your measured workload.
  2. Assign each job to a known proxy endpoint and record the dongle label.
  3. Add a second dongle and repeat the same test with the workload split between them.
  4. Compare aggregate successful requests, p95 latency, and destination responses.
  5. Increase the fleet in tested cells rather than treating one host as an unlimited socket pool.

ProxyKite is built for this model: each active dongle becomes an HTTP and SOCKS5 proxy, with cloud routing so the box does not need a static IP or inbound port forwarding. The software licence is $9 per dongle with no per-GB software charge; traffic uses the data plan in the SIM you own. For 50+ dongles, reseller and volume planning is available through contact.

The mobile proxy dashboard guide covers the per-dongle fields worth monitoring, while How to Scale a Proxy Farm from 10 to 100 Dongles describes repeatable cells, labels, power, and replacement boundaries.

ProxyKite’s feature overview shows the per-dongle controls that support measured routing and operations.
ProxyKite’s feature overview shows the per-dongle controls that support measured routing and operations.

Step 6: Match rotation to the workload

Why this matters: changing the IP does not increase the physical capacity of a dongle, and rotating in the middle of a session can break the workflow you are trying to complete.

Use sticky routing for a multi-request browser, login, form, or QA flow that needs one consistent session. Use on-demand rotation or a rotation link between independent batches. A timer is useful for recurring work, but its interval should follow the job duration and the destination’s rules.

ProxyKite supports on-demand rotation, private rotation links, and timers from 60 seconds to 7 days, plus a sticky option. The guide to how a 4G rotating proxy changes IPs explains why a new carrier session can still receive the same public address.

Before rotating, pause new work for that dongle. After the modem is ready, send a fresh verification request and then return the proxy to the pool. Keep one rotation operation active per dongle so overlapping resets do not make the logs ambiguous.

Troubleshooting a concurrency test

The test fails at one worker. Verify the proxy URL, authentication, dongle data connection, host outbound access, and the test URL. A concurrency experiment cannot diagnose a baseline connectivity failure.

Latency rises but status codes stay successful. You are likely approaching a link, target, or connection-management limit. Keep the lower stage if your workload values predictable response time, even if a higher stage completes slightly more requests.

429 appears only at higher concurrency. Treat it as target-side feedback first. Reduce the request rate, honour Retry-After, inspect the destination’s documented limits, and test a smaller workload before changing the proxy.

The proxy endpoint works but the dongle disappears. Check the USB tree, powered hub, cable, host logs, and device state. The proxy software cannot compensate for a physical USB or power problem.

A second dongle does not double throughput. Check whether the destination is limiting the account, API key, or broader workload rather than the source IP. Also compare the two dongles’ signal, data plan, host, and request mix; adding a path does not remove a target-side limit.

FAQ

How many threads per proxy should I start with?

Start with 2–5 workers for small API or price-check requests, 2–4 for a light page crawl, and 1–2 browser sessions. Ramp in small stages and keep the highest level that meets your own latency, error, and rate-limit rules.

How many requests per minute can one mobile proxy handle?

There is no fixed requests-per-minute number for every 4G proxy. It depends on response time, request size, the dongle and host, and the destination’s policy; measure completed requests and latency together.

Does increasing threads make a mobile proxy faster?

Only until the next bottleneck is reached. More workers can keep a slow link busy, but after saturation they usually increase queueing, latency, timeouts, or target-side rate limiting instead of increasing useful throughput.

Is a 429 error caused by the mobile proxy?

Not necessarily. HTTP 429 is a destination response indicating that requests were sent too quickly under that server’s chosen counting rules. Check the response headers and the destination’s limits before treating it as a dongle or proxy-capacity failure.

Should I add more threads or more dongles?

Add threads only while your measurements show a stable improvement. When latency or errors rise without useful throughput, keep a lower per-dongle budget and add another tested dongle; use sticky sessions and rotation timing that match each job.

Previous Article

Error 1015: You Are Being Rate Limited—Fixes

Next Article

Test a curl SOCKS5 Proxy: Check Your Exit IP