Rethinking multi-grain timestamps
Rethinking multi-grain timestamps
Posted Oct 10, 2023 7:24 UTC (Tue) by Wol (subscriber, #4433)In reply to: Rethinking multi-grain timestamps by NYKevin
Parent article: Rethinking multi-grain timestamps
> Not yet. The next logical step down from 1 ms resolution is 100 µs resolution, but as long as both machines are within thirty kilometers[1] of each other, the events in question are separated by a timelike interval, and so all observers will agree about the order in which they happen.
Fascinating! Yes really. But I think maybe I should have used the word "causality" rather than "relativity". My bad ...
But what I was trying to get at, is that if that distance is greater than your thirty kilometers, either you don't actually need to know the order, or any attempt to assign an order is essentially throwing dice at random. (I think about that with regard to distributed databases, and I'd certainly try to localise the problem to avoid those network effects ...)
At the end of the day, humans don't like it when the people who know say "it's unknowable". And in the example we appear to be discussing here, "make" running across a distributed file system, I find it hard to grasp how you can make the required sequential determinism work over the randomness of parallel file saves. If the system is running fast enough, or the network is large enough, the results will by the laws of physics be random, and any attempt to solve the problem is doomed to failure.
From what you're saying, we're nowhere near that limit yet, but we might get better results if we planned for hitting it, rather than pretending it's not there.
Cheers,
Wol
