Distributed load testing and IP-based rate limits - DataImpulse

Most load tests run from one machine or one cloud region, which means every request arrives from a small set of addresses. That is fine for measuring raw application throughput and misleading for anything where the source address changes the behaviour, which on a modern stack is most of the edge.

This guide covers what single-source testing hides, where distributed sources genuinely help, why proxies are the wrong answer for throughput, and the authorization rules that are not optional.


Key Facts

  • Test only systems you own or are contracted to test. Generating load against someone else’s infrastructure without written authorization is an attack, whatever the intent.
  • Single-source tests hide four layers of IP-based logic: rate limits, connection caps, geographic routing, and anti-bot scoring.
  • Proxies are the wrong tool for raw throughput. For sheer request volume, use load generators in multiple cloud regions; proxies exist to vary the source characteristics, not to add power.
  • A proxy adds latency of its own, so response-time numbers from a proxied test measure the path, not just your system.
  • Test the defences too. A test that bypasses your WAF measures an application that will never exist in production.

What does a single-source load test hide?

Four layers between the internet and your application make decisions based on the client address. We call it the 4-layer edge model.

Layer What it does per IP What a single-source test shows
1. Rate limiting Caps requests per address per window Your test throttles early; the real ceiling stays unknown
2. Connection limits Caps concurrent connections per source Artificial queuing that production users never see
3. Geographic routing Sends traffic to the nearest edge or region One region tested, the rest unmeasured
4. Anti-bot scoring Flags repetitive traffic from one address Challenge pages counted as application errors

The fourth row is the one that wastes the most time. A test that starts returning challenge responses looks like an application failure in the results, and teams spend a day chasing a bug that is their own protection layer doing its job correctly.


When do distributed sources actually help?

When the thing you are testing depends on where the request comes from, and not otherwise.

Goal Use Avoid when
Find the real per-IP rate limit ceiling Many distinct source addresses, ramped You have not confirmed the limit is per IP
Measure latency for users in specific countries Residential exits in those countries You only serve one region
Verify geo-routing sends users to the right edge Exits in each target region You have no multi-region deployment
Push maximum requests per second Cloud load generators, not proxies Always: proxies add latency and cost per GB
Test the application layer in isolation Direct, internal, no proxy You need edge behaviour included

The distinction that matters: proxies vary the characteristics of traffic, cloud generators supply the volume. Using proxies for volume is expensive, slow and produces noisy numbers, because you are measuring a residential path rather than your service.


How do you read the numbers honestly?

Separate the path from the system. A proxied request travels through an extra hop with its own variable latency, so the p95 you measure is your service plus the exit. Always run a direct baseline alongside the distributed test and report both, or the distributed numbers are uninterpretable.

Report per-region separately rather than averaged. An average across five regions hides the one region that is failing, which is the reason you ran a geographic test in the first place.

And test with your protections enabled. It is tempting to allowlist the test source so the WAF stops interfering, but the result then describes an application that does not exist in production. Better practice is to run two passes: one allowlisted to measure the application, one not allowlisted to measure what users actually meet.


What are the rules?

Authorization is the whole question. Load testing is generating traffic designed to stress a system. Against your own infrastructure with your provider’s knowledge, it is engineering. Against anyone else’s, it is a denial of service attempt and is prosecuted as one in most jurisdictions, regardless of motive.

  • Own or written permission. For third-party systems, a signed scope covering targets, volume, window and a contact for aborting.
  • Tell your hosting provider. Most cloud providers require notification or have a stated policy for load testing; unannounced tests get mitigated as attacks.
  • Respect shared dependencies. Your test hits your payment provider, your CDN and your third-party APIs too. Use sandboxes for those or you are load testing someone else without asking.
  • Have a stop button. A test you cannot abort within a minute is an incident waiting to happen.

General information, not legal advice. Related: what is geo-blocking, 403 Forbidden explained.


Frequently Asked Questions

Should I use proxies for load testing?

Only to vary where traffic comes from, never to generate volume. Distributed exits reveal per-IP rate limits, connection caps, geographic routing and anti-bot behaviour that a single-source test hides. For raw requests per second, cloud load generators in several regions are faster and far cheaper.

Why does my load test start returning errors at a fixed rate?

Usually a per-IP rate limit or connection cap rather than an application ceiling. A single-source test hits that limit long before the service saturates, so the number you record is your own edge configuration, not your capacity. Confirm by ramping from several distinct addresses.

Only your own systems, or systems you have written authorization to test with an agreed scope, volume and abort contact. Generating stress traffic against third-party infrastructure without that is a denial of service attempt and is treated as one legally, regardless of intent. General information, not legal advice.

Do proxies distort load test results?

Yes, and predictably: every proxied request carries the extra hop’s latency, so response times describe the whole path. Always run a direct baseline alongside and report the two separately rather than merging them into one average.

Should the WAF be enabled during a load test?

Run both. An allowlisted pass measures the application; a non-allowlisted pass measures what real users meet, including challenges and rate limits. Testing only with protections disabled produces numbers for a system that will never be in production.


Test the paths your users actually take

Geographic routing and per-IP limits only appear when requests come from where your users are. DataImpulse residential proxies cover 195 countries at $1 per GB with country-level targeting, for the characteristic-varying half of a test plan. Create an account and run one region against your direct baseline.

Related: what is geo-blocking · 403 Forbidden when scraping · web scraping use case.

Last updated: September 17, 2026.