AirBNB Opensources Chronos, a Cron Replacement
First time accepted submitter victorhooi writes "AirBNB has open-sourced Chronos- a scheduler built around Apache Mesos (a cluster manager). The scheduler is distributed and fault-tolerant, and allows specifying jobs in ISO8601 repeating notation, as well as creating dependent jobs. There's also a snazzy web interface to track and manage jobs, as well as a RESTful API."
It's under the Apache License as seems to be the fashion with businesses releasing software nowadays. It looks like it might be useful if you have to manage a lot of machines with interconnected recurring processes; I know I wish this had existed a few years ago.
This is not a replacement for cron. On an isolated machine, it would be foolish to trade cron for such a complicated beast. On many nodes, I understand it has benefits.
"distributed and fault-tolerant" and "dependent jobs"
All things cron doesn't do.
I wonder what the Khronos Group would have to say about the name of this project.
Chronos looks very yummy. Over the years I've deployed a number of schedulers (launchd on OS X and Quartz come to mind) but cron always comes back because it's so available and flexible. While it has many shortcomings, it's reliable and easy to grasp. Chronos, with the ISO 8061 job scheduling syntax will have an edge over the nasty mess of launchd, and the cron-like extensions and idiosyncrasies in Quartz. The first glance at the GitHub pull shows clean code. I'm looking forward to taking it through its paces on OS X and Linux.
Unknown Lamer wrote:
> It's under the Apache License as seems to be the fashion with businesses releasing software nowadays.
It's not a matter of fashion, it's a practical reality. No sane business wants to be the who defends the GPL in court. It'll be expensive and messy, and if the result goes against GNU/GPL "accepted wisdom", it will be a PR nightmare. The Apache License strikes a good balance between permissiveness and restrictions: less restrictive than the *GPL, less permissive than BSD or MIT. I advise various companies (startups, public, etc.) and venture funds on this regard. We recently advised someone using mongoDB (GPL3) to ensure that they built a very flexible abstraction layer between the app and the database that, by design, would allow swapping to something different (e.g. Cassandra, CouchDB, etc.) with a less restrictive license than *GPL and with similar characteristics. That single item, mongoDB's license, could be the deciding factor between getting funding/being acquired or not.
Cheers!
pr3d
http://eugeneciurana.com | http://ciurana.eu
Yeah. Why use squid when you can just stuff client requests in a hash table, too...
Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
a) Chronos is actually correct (to the extent that the most accepted transliteration for the greek letter chi is 'ch' rather than 'kh') and means 'time'.
b) If anything, it's actually the Khronos group which should be cowering in shame, since they are misspelling the name Kronos.
c) Latin doesn't even have a 'ch' diphthong, except when transliterating Greek words (http://en.wikipedia.org/wiki/Ch_%28digraph%29#Latin)
d) The latinization of Kronos would have been Cronus, not Chronos.
e) Strictly speaking, Kronos is a Titan, not a Greek God (except in the looser definition of Titans as deities in general)
Fail.
Which is exactly why its not a cron replacement. Anybody who think this == cron had NO clue of what they were doing when they were using cron, and still doesn't.
Which is exactly why its not a cron replacement.
Would "Cron on Steroid" satisfy you?
Muchas Gracias, Señor Edward Snowden !
isn't that systemd's job?
I know, chronos is so great, it will launch your app even if the machine is down itself! It'll supply the power that comes stored in a special file to do it.
You can't handle the truth.
Seriously, why isn't this on freshmeat instead of /.? How the fawq is this news??
Yes, 640k ought to be enough for anyone.
I'm curious to see how this stacks up against BMC's control-m product. These schedulers are useful when managing 1000's of machines running interdependent jobs.
64k was enough for everyone as Steve Jobs knew so 640k out to be more than enough.
This is basic set theory.
If ProductB does *at least* everything ProductA does then it can be a ProductA replacement.
If ProductB does more things, that's not relevant to its use as a replacement.
Only if ProductA has features that ProductB cannot duplicate does ProductB fail to be a possible replacement.
So what features does cron have that this does not?
- Michael T. Babcock (Yes, I blog)
bank of america GAS Jobs scheduling tool finally made it to opensoure, while the bank tries to rid of it.
Because anything new is bad.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
Hi Guys,
Sometimes i wonder what makes people to put f* kind of words as their last name:
Victor Hooi can be translated into russianh as Victor D**k (soft version).
So what's wrong with people....?