
Quick Answer
Throughput measures how much data or useful work a system completes during a set period. Latency measures how long one packet, request, or operation takes. A system can complete many requests per second while some individual requests remain slow, so reliable performance testing must track throughput and latency together.
Key Takeaways
- Throughput is an achieved rate, such as transferred bits per second, completed requests per second, or records per minute.
- Latency is a duration, usually measured in milliseconds or seconds for one defined operation.
- Bandwidth is available capacity, while throughput is the rate actually achieved.
- Concurrency can raise throughput by overlapping work, but excessive concurrency creates queues and increases latency.
- Retries raise the attempt count and traffic volume without necessarily producing more usable output.
- Connection reuse and route choice affect both metrics, so compare proxies with accepted-result throughput and latency percentiles instead of a single speed-test number.
Throughput vs Latency at a Glance
Throughput answers “how much was completed?” Latency answers “how long did one operation take?” They describe different parts of performance, and neither one can replace the other.
| Factor | Throughput | Latency |
|---|---|---|
| What it measures | Data transferred or work completed during a defined period | Time taken by one defined packet, request, or operation |
| Common units | bit/s, B/s, requests/s, records/minute | ms or seconds |
| Preferred direction | Higher for the defined output | Lower and consistent |
| Typical question | How many completed results can the system produce each second? | How long does one request take? |
| Common warning sign | Completed work stops rising as load increases | Median or tail response times rise |
| Main reporting mistake | Counting attempts as successful work | Reporting only an average |
The distinction matters in ordinary network tests and application workloads. A file transfer may wait 250 ms for its first byte and then sustain 80 Mbps during the body transfer. A scraper may process 40 usable pages per second even when the slowest 5% of requests take several seconds.
Throughput is also different from bandwidth. Bandwidth describes the capacity available on a link or path, while throughput measures the rate actually achieved. A high-bandwidth path can still respond slowly, which is why latency and bandwidth must be measured separately.
What Is Throughput?
Throughput is the amount of data or completed work observed during a specified period. The definition must name both the item being counted and the measurement window. “100 per second” is incomplete until the reader knows whether it means requests started, responses received, records saved, or megabits transferred.
Network throughput is usually expressed as bits or bytes transferred per second. Application throughput uses units that match the work, such as completed requests per second, pages per minute, or jobs per hour. A data pipeline may also track records that pass its checks per minute because a fast response can still produce unusable output.
Three measurements are especially useful when testing proxy performance:
- Attempt rate: All request attempts started during the window, including retries.
- Completion throughput: Responses or operations completed during the window.
- Accepted-result throughput: Completed results that satisfy the required status, content, location, freshness, and schema checks.
Accepted-result throughput connects the measured rate to the workload's requirements. Attempt rate describes pressure placed on the system, but it can rise when retries multiply. Completion throughput counts every completed response, including output that fails the predefined acceptance checks.
For data transfer, state what the byte count includes. Response-body bytes, application payload, protocol overhead, and provider-billed traffic are not interchangeable totals. Keeping one definition throughout a comparison prevents an apparent improvement caused only by changing the measurement layer.
Use these formulas:
RFC 6349 provides a more controlled framework for end-to-end TCP throughput testing. That framework addresses TCP delivery rather than whether an application received the intended page or record from the required region.
What Is Latency?
Latency is the elapsed time for one defined event to complete. A network test might measure one-way packet delay or round-trip time. An application test usually measures the time from starting a request until receiving its first byte or complete response.
Label each measurement clearly because these stages cover different work. Round-trip delay covers the outward and return network paths for a packet exchange. Full response time can also include DNS resolution, connection setup, proxy negotiation, TLS, destination processing, queueing, redirects, and body transfer.
RFC 2681 defines a round-trip delay metric for IP paths. Application monitoring often needs broader timings because a user or worker waits for the complete operation rather than one packet exchange. The selected definition should match the decision the test is meant to support.
A proxy request can be divided into several useful stages:
- Time to resolve a hostname when local resolution is involved.
- Time to connect to the proxy endpoint.
- Time spent on proxy authentication or tunnel setup.
- Time to establish TLS with the destination.
- Time until the first response byte arrives.
- Time required to receive and process the complete response.
Latency varies from one request to the next, so a single average hides important behavior. Report the median alongside the 95th or 99th percentile. Separate responses that pass the required checks, responses that fail them, and transport failures because a fast error should not make the workload appear faster.
What High Throughput and Low Latency Mean
A high-throughput, low-latency result means the system completes a large amount of work while individual operations finish quickly. This is usually the preferred combination, but the numbers only have meaning when they come from the same workload, test window, and result checks.
The other combinations can also occur:
| Result pattern | What it can look like | Example |
|---|---|---|
| High throughput, low latency | Many operations finish quickly | Small cached responses handled with available capacity |
| High throughput, high latency | Many operations finish, but each spends substantial time waiting | Numerous concurrent downloads over a distant route |
| Low throughput, low latency | Individual operations are quick, but few run at once | One fast worker with a strict concurrency limit |
| Low throughput, high latency | Few operations finish and each takes a long time | A saturated path, slow destination, or growing retry queue |
“High” and “low” depend on the workload. Ten completed requests per second may exceed the needs of a scheduled monitor but fall far short of a large data pipeline. A 500 ms response may be acceptable for background collection and unsuitable for an interactive step.
Write the target as an operational requirement. For example: “Each second, complete at least 20 requests that return the required output, and keep 95% of those requests below two seconds.” That statement sets an output floor and a limit for the slower part of the latency distribution.
How Throughput and Latency Interact
Throughput and latency influence each other, but they are not opposites. Lower latency can let a fixed number of workers complete more operations. Sending more requests can raise throughput, but it can also increase latency once requests begin queueing at the client, proxy, destination, or another constrained part of the workflow.
Under steady conditions, Little's Law relates the average number of requests in a system to its completion rate and average response time:
The same relationship can be rearranged:
Use the same request population, system boundary, and measurement period for all three values. The average request count includes requests that have started but have not yet completed, including any time they spend waiting in a queue.
Suppose one client keeps only one request in flight and the average response time is 250 ms, or 0.25 seconds. The simplified ceiling is about four completed requests per second. If 25 requests remain in flight at the same 250 ms average, the estimate becomes 100 completed requests per second.
Bottlenecks do not invalidate the relationship, but they change the observed response time and completion rate. If 25 requests remain in the system while average response time rises to one second, completion throughput becomes about 25 requests per second. Timeouts, rate limits, and rejected responses can make accepted-result throughput lower than completion throughput.
Increase proxy concurrency in controlled steps. Set the production limit below the point where extra in-flight work produces little additional output but sharply increases tail latency, failures, or cost.
Measuring Throughput and Latency
Measure throughput over a defined window and latency for every operation inside that window. Keep the target, request configuration, response validation, proxy configuration, session mode, connection policy, and client resources consistent. Changing several inputs at once makes the result difficult to explain.
A practical test follows this order:
- Define required output: Specify the expected status, fields, location, and maximum acceptable age.
- Choose the measurement window: Use a duration long enough to observe initial connection setup, subsequent connection reuse, route variation, and occasional slow responses.
- Record every attempt: Give each original job and retry a distinct attempt number.
- Capture response timings: Store connection, first-byte, and total duration where the client exposes them.
- Count transferred data: Use one byte definition consistently and compare it with billing data separately.
- Validate the output: Mark completed responses as accepted or rejected according to the rules defined before the test.
- Summarize the distribution: Report accepted-result throughput, retry volume, failure categories, and median, 95th-percentile, and 99th-percentile latency.
Confirm route identity, location, rotation, authentication, and response correctness alongside performance. Authentication failures and unexpected responses still produce useful diagnostic timings, but report them separately from requests that returned the expected output.
Example Throughput and Latency Calculation
Consider a 60-second test with these hypothetical results:
| Measurement | Result |
|---|---|
| Original jobs | 600 |
| Total attempts | 660 |
| Completed responses | 630 |
| Accepted results | 570 |
| Response-body data | 120 MB |
| Median latency for accepted responses | 180 ms |
| 95th-percentile latency for accepted responses | 850 ms |
The attempt rate is `660 / 60 = 11` attempts per second. Completion throughput is `630 / 60 = 10.5` responses per second, while accepted-result throughput is `570 / 60 = 9.5` results per second. Response-body throughput is `120 MB / 60 = 2 MB/s`, which equals 16 Mbps when decimal units are used.
The same test created 60 retry attempts, giving it 1.1 attempts per original job. Its 180 ms median looks responsive, but the 850 ms 95th percentile exposes a much slower tail. Reporting only the attempt rate or median would hide the retry overhead, rejected results, and slowest responses.
Inspect One HTTP Request With cURL
Using cURL with a proxy provides a quick way to inspect one request. Replace the three placeholder values below with the proxy host, port, and username assigned to you. The Bash example writes the body to a local file and prints several timing and transfer fields:
The cURL write-out documentation defines these fields. `time_connect` ends when the client connects to the proxy, while `time_starttransfer` also includes later setup and destination processing. `speed_download` reports the average response-body download rate in bytes per second for that transfer.
This command measures one application request, not pure network latency or sustainable system throughput. The example uses `example.com` as a placeholder. Supplying only the username makes cURL prompt for the proxy password instead of placing it in the command arguments. For automation, retrieve credentials from a protected configuration file or secret store. Run repeated requests or load tests only against systems you own or are authorized to test.
The Effects of Retries
Retries can make a dashboard look busier while accepted-result throughput falls. Every retry adds another attempt, consumes time, and may transfer more data. If the failure came from a permanent request error or rejected content, repeating the same work can enlarge the queue without producing the required output.
Track original jobs, total attempts, completed responses, and accepted results separately. A test that rises from 10 to 14 attempts per second but remains at eight accepted results per second did not improve its accepted-result throughput. It created four additional attempts each second and may also have increased latency for unrelated work sharing the same constrained resources.
Retry timing matters as well. Immediate retries can synchronize workers around the same failure and produce a new traffic spike. Bounded attempts, error classification, and delayed retries keep transient recovery from taking over the workload. Set the limits according to the target, the failure type, and whether the operation is safe to repeat.
Connection Reuse Changes Both Metrics
Connection reuse can remove repeated DNS, TCP, proxy-negotiation, and TLS work from later requests. Warm requests often finish sooner and use fewer client and gateway resources than requests that open a fresh connection every time. The effect is most visible when payloads are small enough for setup to occupy a large share of the total duration.
A proxy connection and a proxy session are not the same object. A client can open a new connection while retaining the same proxy session, or reuse one connection while sending several requests through it.
Measure cold and reused connections separately. A new cURL process normally has no live connection pool from the previous process, while a persistent application client may reuse eligible connections. Mixing those test styles can make two otherwise identical proxy configurations appear different.
Connection reuse also interacts with rotation. If route selection occurs when a connection opens, later requests on the same connection may keep the selected exit. Record the observed behavior instead of forcing reconnections solely to increase the number of IP changes.
Proxy Routes Change Both Metrics
A proxy changes the path between the client and destination. The request reaches the proxy endpoint, follows the provider's route to an exit, continues to the destination, and returns. Distance, gateway load, exit conditions, upstream routing, destination processing, and client configuration all contribute to the observed result.
The fastest exit for one destination may perform differently on another because the route after the exit changes. A rotating pool can also produce a wider latency distribution than one fixed route. Group measurements by proxy location, network type, target, and session behavior before drawing conclusions from a combined average.
Proxy rotation controls when another exit selection occurs. Per-request, per-connection, and timed rotation modes produce different samples, while sticky sessions create another pattern. Record the selection boundary used during the test. Unexpected route changes can break stateful work even when raw throughput remains high.
Pool-level throughput should be paired with route health and result quality. Proxy-pool health checks and route isolation make weak routes visible instead of letting aggregate results hide them.
Why Throughput Plateaus Under Load
Throughput stops increasing when a limiting resource reaches its practical capacity. New work then waits in a queue, times out, produces results that fail the required checks, or competes with existing operations. Latency often begins rising before the system reaches an obvious failure point.
The bottleneck can sit at any layer:
- The client may run out of CPU, memory, sockets, file descriptors, or local bandwidth.
- The connection pool may be too small or may spend too much time opening fresh connections.
- A proxy gateway, route, or exit may have limited available capacity.
- The destination may queue, rate-limit, or reject additional traffic.
- Parsing, validation, storage, or another downstream step may process results too slowly.
Increase load one step at a time and hold each level long enough to observe stable behavior. Plot accepted-result throughput against median and tail latency. The practical ceiling appears when throughput plateaus while latency, error rate, retry rate, or cost per accepted result rises.
Compare the client, route, target, and payload before changing proxy settings because a low-throughput result does not identify the bottleneck by itself. Slow proxy troubleshooting can help isolate those layers.
Improving Throughput Without Raising Latency
Begin with the first metric that degrades or stops improving as load rises. If setup time dominates, reuse suitable connections. If queue time grows, lower concurrency or remove work from the constrained component. If large payloads dominate transfer time, request only the resources the job requires.
These changes address common causes:
- Keep a bounded worker pool and raise it gradually rather than starting at the largest available setting.
- Reuse healthy connections when the protocol, proxy route, and destination allow it.
- Place workloads near suitable proxy gateways without changing the exit location the task requires.
- Remove unnecessary browser assets, duplicate downloads, and repeated redirects.
- Classify responses before retrying them, then cap retries by failure type.
- Keep parsing, storage, and validation fast enough to avoid backing up the request layer.
- Separate independent jobs from stateful sessions so rotation does not interrupt related requests.
Optimization should preserve the required content, location, and session behavior. A higher request count is not an improvement when more responses are incomplete, stale, or from the wrong region. In a proxy-backed web-scraping pipeline, routing, collection, parsing, and storage must be measured together.
Testing Proxidize Routes
Test Proxidize with the same targets, payloads, result checks, session mode, and client limits planned for production. Start with one worker, establish the direct and proxied baselines, then increase concurrency in controlled steps until accepted-result throughput plateaus or a latency or cost limit is reached. Record latency percentiles and bytes per accepted result at every step.
Proxidize Residential Proxies provide country, city, and ISP targeting with rotating or sticky sessions. They fit global workloads that need residential-network routes and broad geographic choice. Test each required location separately because one combined result can hide regional differences.
Proxidize Mobile Proxies provide mobile-network routes with rotating or sticky sessions. They fit workflows where the network context itself matters, such as mobile SERP monitoring, mobile ad verification, and mobile application testing. Evaluate Per GB and Per Proxy configurations against the workload's traffic volume, route control, and session requirements.
The Proxidize dashboard reports usage, while the application should record request timing, retries, response checks, and output. Together, those records let teams calculate cost per accepted result instead of relying on one latency sample or a headline concurrency figure. Start a free trial with a controlled test set before selecting production limits.
Conclusion
Throughput is completed work over time, while latency is the time one operation takes. Low latency can improve output when workers spend less time waiting, but more concurrency raises throughput only until queues and other limits begin to interfere.
Define the work before measuring it. Count results that meet the requirements, transferred bytes, retries, and failures over one stated window, then report latency as a distribution. That combination shows whether a system is genuinely completing more useful work or merely generating more traffic.
For proxy testing, keep routes, session behavior, connection reuse, targets, and result checks visible in the results. The strongest configuration is the one that meets the workload's output and reliability targets without exceeding its latency or cost limits.
Frequently asked questions
No. Throughput measures completed data or work per unit of time, while latency measures the duration of one operation. Lower latency can raise throughput when a fixed number of workers spend less time waiting, but capacity, concurrency, errors, and other bottlenecks also affect the result.
Yes. A system can keep many operations in progress and complete a large combined volume even when each operation takes a long time. Batch transfers and highly concurrent workloads can show this pattern, which is why throughput should be reported alongside median and tail latency.
Requests per second can describe either the attempt rate or completed throughput. Started attempts per second is the attempt rate, while completed responses per second is completion throughput. Accepted-result throughput describes output that met the workload's predefined requirements.
No. Concurrency can increase throughput by overlapping I/O wait while the system has spare capacity. Once a client, proxy route, destination, or downstream service becomes constrained, additional work creates queues, raises latency, and may reduce accepted-result throughput.
There is no universal pair of values. The right targets depend on response size, destination, task deadline, concurrency, result requirements, and cost. Set a minimum accepted-result throughput and a maximum acceptable latency for a chosen percentile, then test both under the specific workload.
Proxies add a gateway and exit route to the request path. Gateway location, exit conditions, destination routing, connection reuse, session settings, retries, and client resource limits can change both metrics. Compare proxy configurations using the same workload and separate route groups before judging performance.