News for hackers. Stuff that matters.
Re:Growing a cron job monitoring side project into a real bu... by rdoherty on Sunday February 19, 2017 @10:31PM (#13684053)
I'm curious, how does Cronitor actually monitor that the URLs were pinged at the correct times or at all? Part of me thinks they are using cron to check statuses?
Re:Growing a cron job monitoring side project into a real bu... by encoderer on Sunday February 19, 2017 @10:42PM (#13684108)
We built a python daemon that owns a shard of monitors, iterates them, reads recent history, and dispatches alerts when appropriate. The key things I thought were important when it was built were:

- stateless (needs to be able to be arbitrarily restarted at any time)

- fast (we need to be able to send alerts right when a job fails)

- simple (we will run pings thru a series of simple evaluators where test coverage is easy)

Re:Growing a cron job monitoring side project into a real bu... by rdoherty on Monday February 20, 2017 @01:01AM (#13684711)
Interesting! This type of infrastructure and coding fascinates me, thanks for sharing!
Re:Growing a cron job monitoring side project into a real bu... by nstj on Monday February 20, 2017 @05:22AM (#13686097)
Thanks for sharding!