Ask HN: Best way to monitor external sites uptime?
I am interested in verifying uptime for various cors services like google, icloud, microsoft, bank of America,DNS root servers, whitehouse.gov, ect. Both due to the uptick in ddos attacks and general reluability.
what design considerations should I be cognizant of?
- is a simple ping enough?
- should I implement a crawler and test http status codes?
- is it necessary to go further and use something like phantomjs?
Also, some sites and services do this and I would love to lean on external (free) sources and parse rss/atom feeds but this will be very granular
Any data sources or design tips would be helpful
2 comments
[ 3.1 ms ] story [ 10.5 ms ] threadPhantomjs is unnecessary as you won't need to render any JavaScript.
I don't see why you couldn't just make a crawler and test for status codes, but if the site is under DDoS it will time out.
Then, of course, you'll need cron or something to check it at regular intervals. I guess this is probably the most interesting part of the question, at least to me.
Do you know what signs or tests could be done on these robust services that would tip off an attack?