Skip to content

GabrielRozendo/racknerd-ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

RackNerd Region Latency Test

This project measures latency to RackNerd VPS locations using RackNerd's official test IPs.

Unofficial tool.

Regions

Current RackNerd targets are based on (Looking Glass tools'RackNerd)[https://lg-lax02.racknerd.com]:

  • Los Angeles DC-02 (204.13.154.3)
  • Los Angeles DC-03 (107.174.51.158)
  • San Jose, CA (192.210.207.88)
  • Seattle, WA (192.3.253.2)
  • Dallas, TX (198.23.249.100)
  • Chicago, IL (198.23.228.15)
  • New York (192.3.81.8)
  • Ashburn, VA (192.3.254.158)
  • Atlanta, GA (107.173.164.160)
  • Toronto, ON (167.160.186.8)
  • Strasbourg, FR (45.95.173.2)
  • Amsterdam, NL (23.94.101.88)
  • Dublin, IE (23.95.225.2)

Metrics in CLI output

For each region, the script collects multiple ping samples and prints:

  • Min: lowest latency sample
  • Max: highest latency sample
  • Avg: arithmetic average (sum / count)
  • Median: middle value (or midpoint of two middle values)

Results are sorted from lowest latency to highest (closest first).

How to run

From the project directory:

python3 ping.py

This runs with defaults:

  • --count 3 (3 pings per region)
  • --timeout 2 (2 seconds per ping attempt)

CLI options

python3 ping.py --count 5 --timeout 2

Short form:

python3 ping.py -c 5 -t 2

Example progress output

 37.5% | Testing Seattle, WA (192.3.253.2) [3/3]

Example result table

Region                 IP                   Min      Max      Avg     Mean   Median
---------------------------------------------------------------------------------------
Chicago, IL            198.23.228.15     106.24   106.34   106.29   106.29   106.28
...

About

This project measures latency to RackNerd VPS locations using RackNerd's official test IPs. Unofficial tool.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages