Spanner using TrueTime
Let's examine how Spanner provides the consistency guarantees.
We'll cover the following...
Spanner makes use of a novel API to record time, called
TrueTime API
TrueTime API directly exposes clock uncertainty, and nodes can wait out that uncertainty when comparing timestamps retrieved from different clocks. If the uncertainty gets large because of some failure, this will manifest as increased latency due to nodes having to wait long periods.
TrueTime represents time as a TTInterval, which is an interval ...