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... )
Many 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.
Cloudflare Time Services
51–60 of 68 posts
Re: Cloudflare Time Services
#52It seems to me that CloudFlare should just sponsor servers for inclusion in the long-standing global NTP pools. https://www.ntppool.org/en/
CloudFlare is against anything open source. They seem like they are a nice sharing company but think again. They like Amazon are Open source thieves.
I'm a bit concerned that they may become unprincipled and tyrannical once they are critical infrastructure, but that's a separate matter. Google is extremely generous as well, but as of late they are also disturbingly meddlesome.
Re: Cloudflare Time Services
#53It seems to me that CloudFlare should just sponsor servers for inclusion in the long-standing global NTP pools. https://www.ntppool.org/en/
CloudFlare is against anything open source. They seem like they are a nice sharing company but think again. They like Amazon are Open source thieves.
It's not like your freedom is being restricted by their software licensing, if it was going to hurt anyone it would be CF themselves.
Stealing OSS software is kind of an oxymoron.
Re: Cloudflare Time Services
#54It seems to me that CloudFlare should just sponsor servers for inclusion in the long-standing global NTP pools. https://www.ntppool.org/en/
Re: Cloudflare Time Services
#55I assume Cloudflare does not serve leap-smeared time? In regards to rough-time, does anyone know what the result would be when both Cloudflare and Google are used at the same time, and Google serves leap-smeared time?
Leap smear is how true time is defined in the roughtime spec.
Re: Cloudflare Time Services
#56Earlier quoted context omitted.
Yeah I agree, but ptpv2 does support unicast and you can set offsets. It would be very challenging, but not impossible sans the very high res stuff where you need oscillators on the switches and routers, as you alluded to. It wouldn't get down to the sub-10 nanosecond sync you get with a proper stratum 1 timesource (such as the rubidium decay ones), but you could get faster than the guaranteed 1 second of accuracy wh…
PTP over Internet doesn't make much sense. PTP requires hardware support in all network devices on the path between the (grand)master and slave. Without this support it will generally perform worse than NTP. Of course, it depends also on the implementation. PTP does support unicast messaging, but it is not meant to be used as a public service. There are two major problems: It's not stateless and it has a huge traffic…
Re: Cloudflare Time Services
#57Hello, I'm one of the engineers that worked on it. Feel free to ask me questions.
Re: Cloudflare Time Services
#58Earlier quoted context omitted.
PTP over Internet doesn't make much sense. PTP requires hardware support in all network devices on the path between the (grand)master and slave. Without this support it will generally perform worse than NTP. Of course, it depends also on the implementation. PTP does support unicast messaging, but it is not meant to be used as a public service. There are two major problems: It's not stateless and it has a huge traffic…
Yeah this is the most sensible reason against it. NTP is also responsible for some of the biggest traffic amplification DDoS events.
In PTP the problem is in the synchronization protocol itself. A master in the unicast mode is basically a programmable packet generator. It sends sync/announce messages at a rate and duration specified by its slaves, and the address can be spoofed.
Re: Cloudflare Time Services
#59I think it would be super interesting if they started offering IEEE 1588 v2 aka Precision Time Protocol, but it would be much harder to offer compared to ntp. What they're almost certainly doing here is just running a cable to the roof where they have a GPS antenna and then run it into their datacenters into a time appliance (less likely) or a GPS pci card in one of their servers (more likely) that they then send out…
1. Server: Connect over TCP. For every byte sent, responds back with that system's time in microsceonds.
2. Client: Select a few peers, one at a time: connect over TCP, send a byte and note the round-trip time, halve it to get an approximation of the timepoint that the value was sent to you at, compute delta from current system clock; repeat 20 times, discard first 5 values; exclude outliers (+/- 1 standard deviation) and average to compute the offset, then repeat for the next host, etc until you get some change to make
It worked out and kept the required precision among the collection of nodes required for Ceph to work well.
Re: Cloudflare Time Services
#60Earlier quoted context omitted.
Many 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.
If you're in the cloud you should get time from the cloud provider, not from Cloudflare.