Google Cloud Digital LeaderInfrastructure modernization with Google CloudHard

A large e-commerce company experiences unpredictable traffic spikes during holiday sales, ranging from thousands to millions of requests per minute. They need a globally distributed, highly available database that can scale automatically to handle these extreme loads without manual intervention, and maintain low latency for customer transactions. Which Google Cloud storage product is most suitable for this use case?

  1. ACloud SQL
  2. BFirestore
  3. CCloud Spanner
  4. DCloud Storage
Show answer & explanation

Correct answer: C. Cloud Spanner

Cloud Spanner is a globally distributed, strongly consistent, relational database service that offers unlimited horizontal scaling, high availability, and low latency, making it ideal for workloads with unpredictable, extreme traffic spikes and global requirements.

Why the other options are wrong

  • A. Cloud SQL is a regional relational database, and while it offers scaling, it cannot match Cloud Spanner's global distribution and unlimited horizontal scalability for extreme loads.
  • B. Firestore is a NoSQL document database, excellent for mobile/web apps, but for strongly consistent, relational transactions at global scale with extreme spikes, Spanner is more appropriate.
  • D. Cloud Storage is an object storage service, not a transactional database suitable for millions of requests per minute.

Cloud Spanner

A fully managed, mission-critical, relational database service that offers transactional consistency at global scale, high availability, and up to 99.999% availability.

  • Globally distributed with strong consistency.
  • Unlimited horizontal scaling.
  • Relational database with SQL query capabilities.
  • Ideal for high-throughput, low-latency applications.

Memory trick: Database choices, like a cloud, have many faces!

More Infrastructure modernization with Google Cloud questions