Soru

Zorluk: OrtaSelecting and Designing Storage and Database Resources

A global gaming enterprise is designing the backend data architecture for a multiplayer game hosted on Google Cloud. The system has two primary workload requirements:

1. Low-latency, high-throughput key-value storage for millions of active player sessions and real-time state updates.
2. A relational database for financial transactions and account balances that requires global scale across multi-region deployments with strong ACID consistency.

Which TWO storage and database design decisions should you recommend to meet these requirements?

  1. Provision Cloud Bigtable to handle player session data and active game state.Cevap
  2. Provision Cloud Spanner for user financial transactions and account balances.Cevap
  3. C
    Provision Cloud SQL for PostgreSQL with cross-region read replicas for financial transactions and account balances.
  4. D
    Configure VPC Service Controls around Cloud Storage buckets to replace IAM access policies for player telemetry intake.

Cevap

The optimal architecture combines Cloud Bigtable for high-throughput, low-latency session state and Cloud Spanner for globally consistent multi-region financial transactions.
Cloud Bigtable provides ideal key-value performance for real-time session state, while Cloud Spanner is engineered specifically for globally distributed relational data requiring multi-region writes and strict ACID transactions.

Adım Adım Çözüm

1
Analyze key-value session storage requirements.
Cloud Bigtable is selected because it offers low-latency, high-throughput NoSQL capabilities capable of scaling to millions of concurrent operations.
Relational databases or document stores would introduce latency overhead or scaling bottlenecks for real-time game state.
2
Analyze financial transaction database requirements.
Cloud Spanner is selected because it delivers multi-region relational schema capabilities with strong ACID consistency across global regions.
Cloud SQL cannot support multi-region write scale or global external consistency.

Anahtar Kavram

Selecting GCP database services based on access pattern, consistency model, and regional scale requirements
Tahmini Süre:1m 30s
Bu soruyu puanla