Soru

Zorluk: OrtaSelecting and Designing Storage and Database Resources

A digital streaming platform requires a database solution to ingest and query high-throughput user clickstream events in real time. The workload generates millions of event writes per second with sub-10 millisecond latency requirements, storing key-value pairs indexed by user ID and timestamp. The data does not require multi-table relational joins or ACID transactions across multiple keys. Which database service should you select to meet these technical requirements while minimizing operational complexity and cost?

  1. Provision Cloud Bigtable to handle high-throughput NoSQL key-value writes with consistent low latency.Cevap
  2. B
    Provision Cloud Spanner to manage the clickstream data within a globally distributed relational database architecture.
  3. C
    Export real-time event logs to local disk and order GCP Transfer Appliance units to regularly transport physical media to Cloud Storage.
  4. D
    Provision a single Cloud SQL for PostgreSQL instance with public IP endpoints and rely exclusively on IAM roles to prevent data exfiltration.

Cevap

Provision Cloud Bigtable to handle high-throughput NoSQL key-value writes with consistent low latency.
Cloud Bigtable is purpose-built for high-throughput, low-latency write workloads like real-time analytics, time-series data, and clickstream events indexed by row keys. It provides scalable NoSQL storage without the overhead of relational database management.

Adım Adım Çözüm

1
Analyze access pattern and throughput requirements
The workload requires high-throughput (millions of events per second), low latency (sub-10ms), and simple key-value lookups without relational transactions.
Matching database capabilities to workload write volume and query requirements is critical for performance and cost management.
2
Evaluate candidate Google Cloud database services
Cloud Bigtable provides seamless scaling for heavy write workloads and time-series key-value access patterns.
Bigtable handles massive NoSQL workloads significantly better than relational engines like Cloud SQL or Spanner when complex relational features are unneeded.

Anahtar Kavram

Selecting GCP Storage Services Based on Access Patterns and Scalability Requirements
Bu soruyu puanla