Amazon Time Sync Service
aws.amazon.com
Amazon Time Sync Service
1–10 of 94 posts
Re: Amazon Time Sync Service
#2> It uses a fleet of redundant satellite-connected and atomic clocks in each Region to deliver time derived from these highly accurate reference clocks.
https://aws.amazon.com/blogs/mt/manage-amazon-ec2-instance-c...
Re: Amazon Time Sync Service
#3I can't find any instance of the word "bound" in the GCP or Google NTP docs.
[1]: https://developers.google.com/time/guides#google_compute_eng...
[2]: https://cloud.google.com/compute/docs/instances/managing-ins...
Re: Amazon Time Sync Service
#4Re: Amazon Time Sync Service
#5Re: Amazon Time Sync Service
#6Remember... your CPU can halt at any time for any number of milliseconds. That means simple things like:
upperBound, lowerBound = readTime()
if (upperBound
Are incorrect... There is no guarantee that the 'if' statement didn't take many milliseconds, and that the stuff didn't end up happening after the deadline.It's also very easy to write code that works, but is theoretically wrong. You will leave a hidden bug that may only rear its head years down the line.
Re: Amazon Time Sync Service
#7Google and GCP offer their own NTP endpoints. Does anyone know if GCP also exposes the TrueTime API to customers, or if it's only internal to Spanner? I can't find any instance of the word "bound" in the GCP or Google NTP docs. [1]: https://developers.google.com/time/guides#google_compute_eng... [2]: https://cloud.google.com/compute/docs/instances/managing-ins...
Obviously it's all a matter of reverse engineering rather than documented API's.
Re: Amazon Time Sync Service
#8I'm curious about the title on this submission. I thought TrueTime had unusually strong guarantees about accuracy that don't seem to be called out in what I'm reading on the linked article.
Re: Amazon Time Sync Service
#9I know this is a somewhat simplified story, but it does make me chuckle.
Re: Amazon Time Sync Service
#10It's really hard to use these API's correctly. Remember... your CPU can halt at any time for any number of milliseconds. That means simple things like: upperBound, lowerBound = readTime() if (upperBound Are incorrect... There is no guarantee that the 'if' statement didn't take many milliseconds, and that the stuff didn't end up happening after the deadline. It's also very easy to write code that works, but is theoret…
lowerBound, upperBound = readTime()
often without noticing my error.