Run the checks
Running on this server. Also on Live demos.
What it checks
The services the other demos rely on: the USGS earthquake feed, the Census geocoder, TIGERweb boundaries, ACS estimates, the OpenStreetMap basemap tiles, the nearest-address lookup and GitHub. Each check is a light request from this server, timed, with the address the connection actually went to.
Why it’s built this way
The other demos call these services from this server, so the checks run from here too. A result shows what this server can reach, which isn’t always what your browser can.
All seven requests go out at once through curl_multi, with a 4-second connect timeout and 6 seconds in total, so one slow service can’t hold up the rest. Most are HEAD requests to keep them light; the nearest-address lookup gets a GET on its status page. A service counts as up on a 2xx or 3xx response, following up to three redirects, and its history stores the response time or a failure.