Background Job Processing for Atheists(collectiveidea.com)
collectiveidea.com
Background Job Processing for Atheists
http://collectiveidea.com/blog/archives/2013/11/14/background-job-monitoring-for-atheists/
6 comments
This makes me ponder what happens when init itself fails. This is probably a silly question.
It's a good question. I was wondering that myself when I was writing the comment. Either the kernel would have to restart it or it would bring down the system, because no other process would have a parent.
Usually the kernel halts.
I like this idea. its the push version of the traditional uptime monitoring pull mechanism (i.e. ping endpoints).
not sure I'm a fan of using this specifically for background jobs though, as we have airbrake and splunk and other tools that detect these failures cheaply.
not sure I'm a fan of using this specifically for background jobs though, as we have airbrake and splunk and other tools that detect these failures cheaply.
Thanks. Quick and dirty is the key. And Airbrake is great for failures, but does it support uptime monitoring like Dead Man's Snitch does?
no, but I dont care if it's up as long as its not down :)
which, of course, leaves me hanging if the job queue is just not running, but thats monitored with runit which will issue an error if the service fails to start.
which, of course, leaves me hanging if the job queue is just not running, but thats monitored with runit which will issue an error if the service fails to start.
The idea is cool. I wish there was a middle ground between 1 snitch for free, and unlimited snitches for $20/month.
How many snitches should I get for $1/month, say ?
How many snitches should I get for $1/month, say ?
This is fantastic. Firebase.js is spectacular.
Ah!
I was just thinking of this last week.
The init daemon is the traditional source of immortality and overseer in Unix, so you may want to make an offering to this daemon or recite its spells. But there may be other daemons that could offer you more features.
[1] http://en.wikipedia.org/wiki/Init