Ordering the chaos
summary
Claims that wall clock ordering breaks in distributed systems and recommends replacing it with Lamport timestamps and, when needed, vector clocks; shows a working pattern: generate a correlation id, propagate a logical counter in headers, store both in logs and order them (cloudwatch screenshot proves logs sort by logical time). Notes Google Spanner TrueTime bounds clocks to ~7 ms, and that global consensus needs 3k+1 nodes for k-fault tolerance, so full-cluster ordering is costly.
AI-written summary · about
