Back_to_GuidesOptimizing
Optimization // Spanner_Clusters
Optimizing
Read-Heavy Loads.
How to tune Google Cloud Spanner for sub-10ms reads at global scale.
Spanner is the gold standard for global consistency, but its performance depends heavily on your schema design and interleaving strategy.
1. Interleaved Tables
The Sudarshan engine automatically prompts for parent-child relationship definitions to generate interleaved DDL. This ensures that related data is stored on the same physical server.
2. Stale Reads
For non-critical data, our generated application layer utilized bounded staleness. This allows reading from a local replica instead of the leader, drastically reducing latency.