Closed leoluk closed 3 years ago
The big question here is what sort of time system do we even use. Standard NTP UTC? Smeared NTP UTC? PTP?
After a quick internal discussion, the consensus seems to be as follows:
But we'll come back to the discussion when we actually start designing and implementing it.
MVP implementation in e306d780504ae3ddfad3eb852c7adc5ec9757d89
(originally reported in T560)
There appears to be a distinct lack of full NTP implementations in memory-safe languages, and plain NTP is prone to various man-in-the-middle attacks.
We may get away with something like Roughtime for most workloads.
For workloads like CockroachDB or others that require very precise time, we may have to run a fully-featured NTP client like chrony or even a PTP client in a sandbox.