Cloudflare CDN delay and speed tester to find your fastest IP (IPv4+IPv6)

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Anyone self-hosting behind Cloudflare can stop guessing which anycast IP is fastest and instead measure latency, jitter and download speed per IP, then pin the winner in DNS.

Read this as

Cloudflare is a company whose servers handle traffic for many websites; it usually routes you to a nearby server automatically, but that choice is not always the fastest for your internet provider. A free, downloadable command-line tool called CloudflareSpeedTest, written by developer XIU2, tests many of Cloudflare's addresses at once and ranks them by real download speed. It works on Windows, macOS, Linux and even Raspberry Pi, with no setup required. It matters for people running their own websites through Cloudflare who want faster loading for visitors.

Cloudflare's shared network addresses mean your traffic may land on a slow route even when a faster one exists; the author cites a case where a 'local' address was 150ms while a distant one was 40ms. CloudflareSpeedTest, a free open-source tool by XIU2, measures actual download speeds across both IPv4 and IPv6 addresses in seconds. The gain is performance for self-hosted sites or services relying on Cloudflare's network; the cost is zero beyond a manual DNS update. No licensing, pricing or vendor relationship details are given.

CloudflareSpeedTest (XIU2, written in Go) pulls a curated list of Cloudflare anycast IPs, tests them concurrently via goroutines, and ranks results by ICMP latency, jitter and average download speed from a real file fetch rather than ping alone. Dual-stack runs test IPv4 and IPv6 separately, and flags include concurrency count, custom test-file URL and latency thresholds such as filtering to sub-100ms results. Precompiled binaries exist for Windows, macOS, Linux and ARM. The article gives no sustained-throughput benchmarks or accuracy methodology, and calls it a debugging tool, not production-grade.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Cloudflare CloudflareSpeedTest XIU2 Go Raspberry Pi GitHub IPv6

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.