Skip to main content
Technology|Network Engineer / Performance Engineer

Global Network Performance Testing

Measure latency, reachability, and routing from 18 cloud regions worldwide

Users experience your application differently depending on their geography. EdgeDNS provides real ICMP ping and traceroute from 18 globally distributed cloud regions, giving you ground-truth performance data to optimize user experience worldwide.

The Challenge

Synthetic monitoring from a single location masks regional performance problems. CDN misrouting, peering issues, and geographic latency spikes are invisible from your office. Traditional tools lack global reach, and cloud provider monitoring only shows performance within their own network — not the real user path.

The Solution

Use EdgeDNS global ping and traceroute endpoints to measure real ICMP latency and routing from 18 cloud regions across North America, South America, Europe, Asia-Pacific, Oceania, Africa, and the Middle East. Combine with DNS propagation checks and response time measurements for complete performance visibility.

Endpoints Used

Combine these EdgeDNS endpoints to build this solution.

GET
/v1/network/pingTry in Playground

Global Ping: Real ICMP ping from 18 cloud regions with min/avg/max latency

GET
/v1/network/tracerouteTry in Playground

Global Traceroute: ICMP traceroute showing hop-by-hop path from each region

GET
/v1/domain/response-timeTry in Playground

Response Time: Measure HTTP/HTTPS response time including TLS handshake

GET
/v1/dns/propagationTry in Playground

DNS Propagation: Check DNS consistency and resolution time across global resolvers

GET
/v1/domain/cdnTry in Playground

CDN Detection: Identify CDN provider and verify edge distribution

Results You Can Achieve

True global visibility

Measure real latency from 18 regions spanning 6 continents — not simulated data

Identify routing issues

Traceroute reveals peering problems, asymmetric routing, and suboptimal paths

Validate CDN performance

Confirm your CDN delivers consistent performance across all target markets

Code Example

Global network performance test

javascript
async function globalPerformanceTest(target) {
  const headers = { 'Authorization': 'Bearer YOUR_API_KEY' };

  const [ping, traceroute, responseTime, cdn] = await Promise.all([
    fetch(`https://api.edgedns.dev/v1/network/ping?host=${target}`, { headers }),
    fetch(`https://api.edgedns.dev/v1/network/traceroute?host=${target}`, { headers }),
    fetch(`https://api.edgedns.dev/v1/domain/response-time?domain=${target}`, { headers }),
    fetch(`https://api.edgedns.dev/v1/domain/cdn?domain=${target}`, { headers }),
  ].map(p => p.then(r => r.json())));

  // Analyze regional latency from ping results
  const regions = ping.data.results;
  const avgLatencies = regions.map(r => ({
    region: r.probe_zone,
    avgMs: r.latency_ms,
    packetLoss: r.packet_loss_pct
  }));

  // Find performance outliers (>2x global average)
  const globalAvg = avgLatencies.reduce((sum, r) => sum + r.avgMs, 0) / avgLatencies.length;
  const outliers = avgLatencies.filter(r => r.avgMs > globalAvg * 2 || r.packetLoss > 5);

  return {
    target,
    cdn: cdn.data.provider,
    globalAvgLatency: Math.round(globalAvg) + 'ms',
    httpResponseTime: responseTime.data.total_ms + 'ms',
    regionCount: regions.length,
    bestRegion: avgLatencies.sort((a, b) => a.avgMs - b.avgMs)[0],
    worstRegion: avgLatencies.sort((a, b) => b.avgMs - a.avgMs)[0],
    outliers,
    hasIssues: outliers.length > 0
  };
}

Learn More

Explore industry standards and best practices related to this use case.

Ready to build Global Network Performance Testing?

Get started with 200 free API requests per month. No credit card required.

Other Use Cases