Proxy Concurrency (Proxy Concurrency)
Proxy concurrency measures simultaneously active work, such as connections or requests. The measured object must be stated: a connection limit is not a requests-per-second quota, and queued tasks are not necessarily active network requests.
Explanation
Count the correct resource
Applications may track running jobs, in-flight HTTP requests, open sockets and idle reusable connections separately. These counts need not match. A single job can issue several requests, while connection reuse means a new request does not always require a new socket. A capacity claim without the object being counted cannot be compared reliably.
Read client limits as client limits
HTTPX exposes max_connections and max_keepalive_connections as distinct connection-pool controls. Its pool timeout concerns waiting to acquire a connection. These settings describe local resource management; they do not grant more proxy-account capacity or override destination rate limits.
An illustrative queue
Suppose ten tasks compete for a client configured with five available connections. Some work may wait locally before any request reaches the proxy. The numbers illustrate a configuration, not measured throughput. Doubling task count can increase waiting without doubling completed results. Investigate where waiting occurs before buying additional proxy addresses.
Measure useful work under stated conditions
For an authorized workload, record active requests, connection usage, wait times, completion times and validated results. Keep the destination and client configuration comparable between runs. Increase load only within agreed limits, and distinguish a healthy TCP connection from a completed application task when reporting performance.
Related concepts
References
Sources checked on November 19, 2026. Examples illustrate concepts and are not proxy-service measurements.
Frequently Asked Questions
No. Completion rate depends on time per request, queuing and the definition of successful completion.
No. In HTTPX it means a connection was not acquired from the pool in time. Inspect local occupancy and release behavior first.
No. Application, account, network and destination limits remain separate constraints.