Distributed SQL ACID Latency: TiDB, CockroachDB & Spanner
📖 Bản tiếng Việt (Vietnamese Edition) Series Navigation: This is Part 2 of the Core Banking Systems Architecture Masterclass. For the complete architectural curriculum, start at the Master Overview Guide. Distributed SQL ACID Latency: TiDB, CockroachDB & Spanner Answer-first: Distributed SQL engines achieve horizontal write scalability and multi-datacenter fault tolerance by pairing Multi-Raft or Paxos replication with bounded distributed clock synchronization. However, cross-node consensus introduces unavoidable speed-of-light physical latency penalties. While local metro Raft commits complete in 2ms to 5ms, cross-region transactions (such as cross-region WAN links between financial centers) require 15ms to 45ms per commit round trip. Core banking platforms mitigate this through locality-aware range leasing, pipelined Percolator commit protocols, and asynchronous inter-region Saga choreography. ...