News for hackers. Stuff that matters.
Re:CockroachDB beta-20161013 by Already__Taken on Thursday February 16, 2017 @11:41AM (#13661288)
Why can't these datacenters be using a high precision gps source for their NTP source in the building?
Re:CockroachDB beta-20161013 by tdrd on Thursday February 16, 2017 @12:00PM (#13661479)
[Cockroach Labs employee]

In addition to being extremely precise, TrueTime is explicit about error in its measurements.

In other words, a call to TrueTime returns a lower and upper bound for the current time, which is important for systems like Spanner or CockroachDB when operations must be linearized.

In effect, Spanner sleeps on each operation for a duration of [latest_upper_bound - current_lower_bound] to ensure that operations are strictly ordered.

Your suggestion might improve typical clock synchronization, but still leaves defining the critical offset threshold to the operator, and importantly leaves little choice for software like CockroachDB other than to crash when it detects that the invariant is violated.

Re:CockroachDB beta-20161013 by shin_lao on Thursday February 16, 2017 @12:40PM (#13661876)
NTP isn't enough, you need PTP.