You are designing for a write-heavy application. During testing, you discover that the write workloads are performant in a regional Cloud Spanner instance but slow down by an order of magnitude in a multi-regional instance. You want to make the write workloads faster in a multi-regional instance. What should you do?
https://cloud.google.com/spanner/docs/instance-configurations#multi-region-best-practices Best practices For optimal performance, follow these best practices: Design a schema that prevents hotspots and other performance issues. For optimal write latency, place compute resources for write-heavy workloads within or close to the default leader region. For optimal read performance outside of the default leader region, use staleness of at least 15 seconds. To avoid single-region dependency for your workloads, place critical compute resources in at least two regions. A good option is to place them next to the two different read-write regions so that any single region outage will not impact all of your application. Provision enough compute capacity to keep high priority total CPU utilization under 45% in each region.
Gladys
4 months agoJosefa
4 months agoGary
5 months agoToi
5 months agoLouis
5 months agoLoren
4 months agoStephen
4 months agoMaryann
4 months agoCammy
4 months agoGeorgiana
4 months agoMargurite
4 months agoLisbeth
4 months agoMalissa
5 months agoElli
5 months agoJunita
4 months agoDortha
4 months agoBok
4 months agoLezlie
4 months ago