Re:Rapid growth, lessons learned and improvements at Fly.io
by azurelake on Monday March 06, 2023 @06:02PM
(#35049065)
> Like most things, it's more complex than that,
Sure, no doubt. My point wasn't really about the particularities. It was around the mistaken idea that I see sometimes where people believe that TrueTime allows for synchronized global writes without any need for consensus.
Re:Rapid growth, lessons learned and improvements at Fly.io
by randomswede on Tuesday March 07, 2023 @10:41AM
(#35056549)
The speed of light in vacuum is a hard upper limit. Most signal paths will be dominated by fibre optics (about 70% of C) and switching (adding more delay).
But, yes TrueTime will not magically allow data to propagate at faster-than-light speeds.
It's a delicate balance based on the locations that rows are being read and written. In the case where a row being repeatedly written from only one location and not being read from different location, the writes can be significantly faster than would be naively expected.