Re:Introducing Cloud Spanner, a Global Database Service
by jallriddle on Tuesday February 14, 2017 @12:05PM
(#13645012)
Is this similar to AWS Aurora or is this something else completely different?
[ Parent
| on HN ]
Re:Introducing Cloud Spanner, a Global Database Service
by agwa on Tuesday February 14, 2017 @12:08PM
(#13645046)
Aurora is not globally distributed. Spanner is, and is based on Google research which takes advantage of atomic clocks installed in each server: https://research.google.com/archive/spanner-osdi2012.pdf
Edit: not every server has an atomic clock; see replies by Google employees
Re:Introducing Cloud Spanner, a Global Database Service
by Scaevolus on Tuesday February 14, 2017 @01:14PM
(#13645678)
There are only atomic clocks in some master servers: "TrueTime is implemented by a set of time master machines per datacenter and a timeslave daemon per machine. The majority of masters have GPS receivers with dedicated antennas; these masters are separated physically to reduce the effects of antenna failures, radio interference, and spoofing. The remaining masters (which we refer to as Armageddon masters) are equipped with atomic clocks. An atomic clock is not that expensive: the cost of an Armageddon master is of the same order as that of a GPS master."
The timeslave daemons running on each machine keep them synchronized with the master time servers, and maintain tight bounds on their inaccuracy.
(Disclaimer: I work at Google)