TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Reliable Cron across the Planet

37 点作者 StylifyYourBlog大约 10 年前

3 条评论

teraflop大约 10 年前
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.
endymi0n大约 10 年前
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 未加载
KaiserPro大约 10 年前
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.