Database / Google Spanner Database Interview questions
What is a Spanner instance?
A Spanner instance is the top-level allocation of compute and storage resources within a Google Cloud project. It defines an instance configuration (regional or multi-region, which fixes where replicas live) and a compute capacity, expressed in nodes or processing units, that determines available throughput.
One instance can host multiple databases, each with its own schema, but they all share the instance's compute capacity and replica topology. Choosing an instance configuration is largely a latency-versus-availability decision: a regional instance keeps writes fast because all replicas are close together, while a multi-region instance trades some write latency for higher read availability and a stronger SLA.
More Related questions...