Cloud Spanner for Global Consistency: When the Latency Trade-Off Makes Sense
Decide whether Cloud Spanner's external consistency justifies its cross-region write latency and node-hour cost compared with sharded PostgreSQL or MySQL.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Decide whether Cloud Spanner's external consistency justifies its cross-region write latency and node-hour cost compared with sharded PostgreSQL or MySQL.
Learn how Google Cloud Spanner’s TrueTime uses GPS‑aided atomic clocks to represent time as an interval, enabling external consistency via the commit wait rule while avoiding a centralized timestamp oracle.
TrueTime gives Google Spanner global external consistency by returning a bounded time interval and enforcing a commit‑wait rule, eliminating a central timestamp oracle and keeping latency predictable.
Google Spanner's TrueTime API achieves external consistency by representing time as an interval and enforcing a commit wait. This blog explains the mechanism, shows a cross-region transaction example, and quantifies the latency trade-offs.
Distributed clocks drift, leading to data inconsistency. Discover how Google Spanner uses TrueTime and 'commit wait' to achieve global external consistency.