Find the lowest-latency region from your machine

databases & regions

// what it does

Pings PlanetScale's public database endpoints and ranks them by round-trip time from wherever you run it. Run it from your production environment (a CI runner or app server in the same datacenter) to pick the right --region with data instead of guesses.

// shell

$ pscale ping
$ pscale ping -p gcp

// gotcha

Results from your laptop only reflect your laptop. Filter to one cloud with -p aws or -p gcp if your infrastructure is already committed to a provider.

// resources