DigitalOcean provides usefull links to run speed tests for each datacenter, but only one at a time. I created this repository to speed up this process.
Run speed tests for all DigitalOcean datacenters faster than ever.
Just click start!
This tool uses the same service used by speedtest-*.digitalocean.com so the result should be the same.
Unfortunately, this application is not working anymore from my domain since the speed test service is now validating the domain name.
Of course, the valid domain is the DigitalOcean domain. Given that, I decided to refactor this application to be served as a micro-frontend so that we are able to inject it into their website.
When Travis CI builds the website and publishes it to GitHub Pages, two files are generated (
main.css). They are used both to render the website hosted at speedtest-do.marcomontalbano.com and to render the injected application at speedtest-nyc1.digitalocean.com.
var script = document.createElement('script'); script.src = 'https://cdn.jsdelivr.net/gh/marcomontalbano/[email protected]/static/js/main.js'; var style = document.createElement('link'); style.href = 'https://cdn.jsdelivr.net/gh/marcomontalbano/[email protected]/static/css/main.css'; style.rel = 'stylesheet'; document.head.innerHTML = ''; document.body.innerHTML = ''; document.body.setAttribute('id', 'st4do-root'); document.head.append(script, style);
You can take a look at the production code being used:
Click here to register a new one!
Google Analytics is used to record the following:
uploadspeed for each region in order to provide the consultable table.
start you accept this terms & condition; no additional data is sent to the server.