b05-Cloud-Spanner

Cloud Spanner

  • Fully managed, highly scalable/available, relational database
  • Similar architecture to Bigtable

What is it used for?

  • A relational database that need strong transactional consistency(ACID)
  • Wide scale
  • Higher workload than Cloud SQL
  • Standard SQL format

Spanner vs CLoud SQL

  • Cloud SQL = MySQL
  • Spanner is not “dropped in” replacement for MySQL
    • Not MySQL/PostgreSQL compatible
    • Work need to migrate

Spanner architecture

  • Nodes handle computation, each node serves up to 2 TB of storage
  • Storage is replicated across zones, compute and storage are separated
  • Replication is automatic