Professional Cloud ArchitectManage and provision solution infrastructureHard

A global gaming company is developing a new real-time multiplayer game. The game backend requires a database that can handle millions of concurrent users, provide extremely low-latency read/write access globally, and scale massively without sharding. The data schema is semi-structured and will evolve frequently. Which Google Cloud database service is the best fit?

  1. ACloud Firestore
  2. BCloud SQL
  3. CCloud Bigtable
  4. DCloud Spanner
Show answer & explanation

Correct answer: A. Cloud Firestore

Cloud Firestore is a flexible, scalable NoSQL document database designed for mobile, web, and server development. It offers real-time synchronization, low-latency access, and automatic scaling for millions of concurrent users, with a flexible schema perfect for evolving game data.

Why the other options are wrong

  • B. Cloud SQL is a regional relational database, not designed for global low-latency access or massive NoSQL-style scaling without sharding.
  • C. Cloud Bigtable is a wide-column database optimized for analytical workloads and very high throughput for time-series or IoT data, not typically for real-time game state or flexible document-style data with frequent schema changes.
  • D. Cloud Spanner is relational and strongly consistent globally, but its schema is rigid and it's not optimized for semi-structured data with frequent schema evolution like Firestore.

Cloud Firestore

A flexible, scalable NoSQL document database for mobile, web, and server development, offering real-time data synchronization and offline support.

  • NoSQL document model, flexible schema.
  • Real-time data synchronization.
  • Massive scalability for concurrent users.
  • Low-latency access globally.
  • Integrated with Firebase for client-side development.

Memory trick: Firestore is for fast, flexible, real-time game worlds.

More Manage and provision solution infrastructure questions