HackerTrans
TopNewTrendsCommentsPastAskShowJobs

fweespeech

no profile record

comments

fweespeech
·10 वर्ष पहले·discuss
> All the time Martin says that “the system clock jumps” I assume that we covered this by not poking with the system time in a way that is a problem for the algorithm, or for the sake of simplicity by using the monotonic time API. So:

> About claim 1: This is not an issue, we assumed that we can count time approximately at the same speed, unless there is any actual argument against it.

https://aphyr.com/posts/299-the-trouble-with-timestamps

> Timestamps, as implemented in Riak, Cassandra, et al, are fundamentally unsafe ordering constructs. In order to guarantee consistency you, the user, must ensure locally monotonic and, to some extent, globally monotonic clocks. This is a hard problem, and NTP does not solve it for you. When wall clocks are not properly coupled to the operations in the system, causal constraints can be violated. To ensure safety properties hold all the time, rather than probabilistically, you need logical clocks.

> A somewhat less safe but reasonable option is to use NTP rigorously on your machines, and sync it to TAI or GPS instead of POSIX time or UTC. Make sure you measure your clock skew: everyone I know who says they run NTP has discovered, at one point or another, that a node was way out of sync. If you want rough correspondence to POSIX time, you can still ensure monotonicity by running your own NTP pool and slurring leap seconds over longer time frames.

Clock skew is a very real problem and virtually impossible to avoid 100% of the time. Particularly when you have things like leap seconds where the fundamental concept of how many seconds in a day get changed.

https://en.wikipedia.org/wiki/Leap_second

System clocks are fundamentally unsafe if you just use NTP. That isn't to say you can never do it. Some use cases it is "safe enough" [e.g. Analytics, Metrics] where the occasional fuck up isn't substantial but Antirez isn't making that argument with Redlock as far as I can tell.

> “Okay, so maybe you think that a clock jump is unrealistic, because you’re very confident in having correctly configured NTP to only ever slew the clock.” (Yep we agree here ;-) he continues and says…)

That still isn't reliably safe because there is no guarantee all nodes will perform the slew identically.
fweespeech
·11 वर्ष पहले·discuss
Does anyone else find it hilarious you can't sign up with your Google Apps email address?
fweespeech
·11 वर्ष पहले·discuss
How do you feel about the fact you employ the co-founder of a company that sells technology to the government that assists in the management of espionage data and has been associated with people crafting proposals to engage in industrial espionage? [e.g. Palantir]

http://www.forbes.com/sites/andygreenberg/2011/02/11/palanti...

https://news.ycombinator.com/item?id=8236762

http://www.huffingtonpost.com/ralph-nader/corporations-spy-o...

http://thinkprogress.org/economy/2011/02/17/144678/chamberle...