Re:What does it take to make Google work at scale?
by lmorris84 on Monday August 17, 2015 @04:03PM
(#10075723)
I believe Google Spanner obsesses over timestamps quite a lot to deliver distributed transactions with something called TrueTime [1].
Re:What does it take to make Google work at scale?
by matthewmacleod on Monday August 17, 2015 @03:52PM
(#10075653)
Well, it's a reasonable solution to some distributed problems. I imagine that many distributed algorithms can be simplified a lot of you have a reliable and accurate time source. If you can build a reliable clock at less cost (development and/or overhead) than a time-insensitive algorithm would cost, then why not do it?
Re:What does it take to make Google work at scale?
by pjungwir on Monday August 17, 2015 @03:53PM
(#10075665)
Many security protocols use credentials that are only valid for a brief time. Here is a simple example of a problem caused by my server's time being more than 10 minutes off from the time on S3:
http://illuminatedcomputing.com/posts/2015/04/paperclip_expi...
Re:What does it take to make Google work at scale?
by abrookewood on Monday August 17, 2015 @11:02PM
(#10077394)
Yep, security is a big one. Authentication & encryption can behave very unpredictably if your times are not in sync. So, you might not be able to login to a server, or connect via HTTPS etc
Re:What does it take to make Google work at scale?
by amaks on Monday August 17, 2015 @05:04PM
(#10076111)
There is a simple reason why it's needed - in distributed transaction you need to establish the causality of changes. That's why truetime is needed.
Re:What does it take to make Google work at scale?
by ska on Tuesday August 18, 2015 @11:10AM
(#10079592)
Sorry - missed this somehow.
People have mentioned distributed transactions and security, another area is synchronizing modeling with (hard or soft) real time inputs from separate hardware. There are a bunch of ways to get yourself tied up in knots once at least 2 physical bits of hardware are involved.
And for that matter, why would anyone build any process/system/software that requires a distributed system's machines to all have their clocks in-sync. I am baffled.