3 ms·
Are the local time servers stratum 1, or do they have some central stratum 1 source that they then distribute out to the edge datacenters? What's the value ove
by jrockway 7y ago
Are the local time servers stratum 1, or do they have some central stratum 1 source that they then distribute out to the edge datacenters?
What's the value over just building your own stratum 1 source? (Shameless plug: https://github.com/jrockway/beaglebone-gps-clock/blob/master/README.md https://github.com/jrockway/beaglebone-gps-clock/blob/master...)
- apple4ever 7y agoIts actually not clear what you'd get. So I set it up on a server, and it shows as Stratum 3. So that means Cloudflare's service is a Stratum 2. I'd much prefer if they were a 1 and the servers would get a 2, but I guess for free that's what you get. The advantage for this is if you are running servers in production, this is easier to set up.
- wbl 7y agoGetting authentication set up with stratum 1 provides was an involved process. I don't think any fax machines were involved but we came pretty close. Also many stratum 1 servers have rules on who can use them, so finding ones can be tricky.
- apple4ever 7y agoOh I'm sure, but Cloudflare has the ability to be the Stratum 1 and provide the authentication if needed.
- apeace 7y agoMany folks these days are deploying in the cloud, where it's difficult to deploy your own hardware. Many would see it as too costly to maintain the hardware in a separate datacenter with a fast connection to their cloud provider. The advantage of this is that it runs on Cloudflare's network, where your cloud provider surely has a fast connection to the nearest edge.
- wmf 7y agoIf you're in the cloud you should get time from the cloud provider, not from Cloudflare.
- makomk 7y agoThat does seem like the obvious problem with this. For example AWS apparently have GPS time sync to all their datacenters in order to provide accurate NTP time to the instances in them: https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service/ https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-ti... It seems like it'd be hard to beat the connection speed and all-around performance of that, especially since there's a cross-internet trip from the third party stratum 1 servers to Cloudflare as well as the one from their servers to you.
- wbl 7y agoYou can use multiple servers with NTP for redundancy and better accuracy. One is none pretty quickly.
- makomk 7y agoThe linked blog post implies that they don't even have any of their own stratum 1 servers, they've just negotiated to get authenticated time from some other people's existing stratum 1 servers via the existing NTP symmetric crypto protocol. Edit: dropped their address in my NTP config, and the Cloudflare server I got is a stratum 3. Don't see many of those about now, generally pool.ntp.org returns a mix of stratum 1 and 2 servers at least for the UK. Guess it's not too surprising if they're getting time from a handful of third-party stratum 1 servers and then distributing it to their edge nodes though.