Set crawler concurrency from latency, QPS, and throughput.
Concurrency is the number of in-flight requests, not requests per second. Start from end-to-end latency and target behavior, then validate with useful output.
Separate concurrency, QPS, and throughput.
A request occupies capacity while DNS, connection setup, TLS, proxy routing, target processing, transfer, and client work are incomplete.
Use Little's Law as a starting estimate.
For a continuously supplied queue in a stable window, completed QPS is approximately in-flight requests divided by average end-to-end seconds. It is an estimate, not a promise.
completed QPS ≈ average in-flight requests ÷ average latency (seconds)50 in-flight requests at 2 seconds average latency starts near 25 QPS before target limits, retries, parsing, or storage cost.
One page is many proxy requests.
Browser navigation can load HTML, JavaScript, CSS, images, fonts, media, and API calls in parallel. Count network requests and transferred bytes per page, not browser instances alone.
Navigation creates the initial request and discovers dependencies.
Scripts, styles, images, fonts, and media consume connections.
XHR, fetch, GraphQL, and polling can continue after load.
CPU, memory, parsing, and storage can become the real bottleneck.
Increase load only while useful output scales.
Raise concurrency in controlled steps and hold each level long enough to observe latency, target errors, retries, bytes, and validated output.
Questions before production.
Does 50 concurrent requests equal 50 QPS?
No. At two seconds average latency, 50 continuously occupied slots start near 25 completed QPS.
Why can browser jobs exhaust threads quickly?
One page creates many parallel subresource and API requests.
Should I increase concurrency when p95 rises?
Usually not. First identify target throttling, connection reuse, response size, parsing, or storage pressure.
What is the best success metric?
Use complete validated objects or useful bytes per hour for the workload.