zlacker

[parent] [thread] 8 comments
1. dustin+(OP)[view] [source] 2013-11-13 01:52:39
I don't get how clocks are bad this from the article.

I get that syncing clocks across systems is hard and when it goes awry, unintended consequences are incurred.

replies(1): >>RickHu+s2
2. RickHu+s2[view] [source] 2013-11-13 02:35:06
>>dustin+(OP)
There is, in fact, a TL;DR at the end:

> If your distributed database relies on clocks to pick a winner, you’d better have rock-solid time synchronization, and even then, it’s unlikely your business needs are served well by blindly selecting the last write that happens to arrive.

replies(1): >>ssever+Rc
◧◩
3. ssever+Rc[view] [source] [discussion] 2013-11-13 05:53:41
>>RickHu+s2
In fact I would recommend GPS calibrated hardware clocks with PTP.
replies(3): >>donava+oj >>marshr+Aq >>duaneb+8u
◧◩◪
4. donava+oj[view] [source] [discussion] 2013-11-13 08:27:06
>>ssever+Rc
As last summers negative leap second fiascos demonstrated even a trusted source isnt enough.
replies(1): >>oh_sig+ne1
◧◩◪
5. marshr+Aq[view] [source] [discussion] 2013-11-13 11:10:50
>>ssever+Rc
The point is not that time synchronization is inherently bad, only that it's usually not the correct thing for a distributed database to resolve update conflicts with.
replies(1): >>ssever+pU
◧◩◪
6. duaneb+8u[view] [source] [discussion] 2013-11-13 12:15:22
>>ssever+Rc
Ok, google.
◧◩◪◨
7. ssever+pU[view] [source] [discussion] 2013-11-13 16:33:13
>>marshr+Aq
Yes I completely agree. I fail to see how anyone would think that using a clock as a source of truth in a distributed system would be in anyway a good idea. As far as PTP it would be too expensive to deploy at large scale which was some of the motivation (i believe) behind truetime.
replies(1): >>marshr+EZ
◧◩◪◨⬒
8. marshr+EZ[view] [source] [discussion] 2013-11-13 17:17:02
>>ssever+pU
To be fair, time was considered to provide a pretty universal total ordering up until fairly recently, i.e., 1903.
◧◩◪◨
9. oh_sig+ne1[view] [source] [discussion] 2013-11-13 19:08:01
>>donava+oj
They are when you know that the leap-(nanosecond/second/minute/day) is coming up. When you know it is coming, you can "smear" the time difference over, let's say, the entire year, so when it happens, every system behaves correctly.
[go to top]