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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Clocks Are Bad, Or, Welcome to the World of Distributed Systems

99 点作者 pharkmillups超过 11 年前

9 条评论

mey超过 11 年前
Is it me, or does the hand waving at the beginning of the article between &quot;write&quot; and &quot;update&quot; smell of bad spin? As a developer I consider both &quot;creates&quot;&#x2F;&quot;updates&quot; as &quot;writes&quot;.<p>&quot;Riak is designed to accomodate (sp) server and network failures without ever losing committed writes, so this led to a quick response from Basho’s engineers.&quot;<p>As such losing a write to me when I read documentation is losing either a create, update or a delete. Any side affecting operation essentially. Anything that needs to write to disk to record a change...
评论 #6722955 未加载
评论 #6722959 未加载
评论 #6724451 未加载
flavien_bessede超过 11 年前
Distributed systems design aside, the core of the problem is that they relied on ntp (as they probably should), and in their case ntp was not working properly.
评论 #6723851 未加载
评论 #6722817 未加载
评论 #6724106 未加载
评论 #6724014 未加载
dustinupdyke超过 11 年前
I don&#x27;t get how clocks are bad this from the article.<p>I get that syncing clocks across systems is hard and when it goes awry, unintended consequences are incurred.
评论 #6722968 未加载
zschoche超过 11 年前
Decades ago albert einstein introduced the general theory of relativity, which is already telling us that timestamps are bad for synchronisation.
jbert超过 11 年前
Dumb question: What breaks with the following approach?<p>1) set last_write_wins=true (so all updates, always apply, as described in the article)<p>2) avoid the &quot;partition&#x2F;rejoin may cause old values to stomp on new&quot; issue by having &quot;rejoin detection&quot; which refuses to rejoin if clocks are &quot;too out of sync&quot;
neolefty超过 11 年前
How do other distributed databases handle this?
评论 #6723200 未加载
评论 #6723350 未加载
评论 #6723283 未加载
评论 #6725175 未加载
tych0超过 11 年前
I can&#x27;t scroll down.
评论 #6723104 未加载
joaomsa超过 11 年前
How would you get around the unreliability of clocks in VMs? Seems like deploying Riak in the cloud could be problematic.
评论 #6727102 未加载
crb002超过 11 年前
Mars design. Assume one server is on Mars, with associated time dilation on it&#x27;s clocks and latency.