TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Reliable Cron across the Planet

37 pointsby StylifyYourBlogabout 10 years ago

3 comments

teraflopabout 10 years ago
An interesting read, but it doesn&#x27;t look like there&#x27;s too much exciting or novel here. (In a fundamental sense, that is. I&#x27;m sure there&#x27;s all kinds of interesting nuts-and-bolts engineering that outsiders aren&#x27;t privy to.) TLDR: use a replicated state machine to make scheduling decisions, and make all operations on the datacenter idempotent.<p>The hashing trick to mitigate spiky load distributions is cool, but that seems to be more about multi-tenancy than reliability.<p>I&#x27;m disappointed to see this article perpetuating the misconception that Paxos is a leader election algorithm. It <i>tries</i> to elect a leader for its own purposes, but Paxos itself behaves safely even if the election process goes temporarily amok; other systems built on top of it might not. If you want to provide the guarantee that only one scheduler instance is running at a time, you need to add a lease mechanism and make assumptions about clock synchrony. I&#x27;m sure the authors know this, but not mentioning it at all seems pretty sloppy.
endymi0nabout 10 years ago
Wonder if those guys checked out <a href="https://github.com/mesos/chronos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mesos&#x2F;chronos</a> - it was the best solution I could find when I recently wanted to solve distributed, reliable Cron for us.
评论 #9244071 未加载
KaiserProabout 10 years ago
WE had a similar issue, although a different level of scale.<p>However Jenkins works as a good cron replacement. Although I&#x27;m not sure about the limit to the number of build slaves you attach to jenkins.