An energy provider ingests about 200 000 smart-meter readings per second (roughly 5 TB per day). The customer web portal issues up to 50 000 QPS of point lookups and short time-range scans that must return the last 24 hours of data for a single meter in under 10 ms at the 99th percentile. Data must be kept for three years, and the ingest tier has to scale automatically without downtime or re-sharding. Which managed Google Cloud storage service best meets these latency and scale requirements while controlling cost?
Firestore in Datastore mode storing one document per meter per day
Cloud Bigtable with a composite row key that orders readings by meter_id and timestamp, using cluster autoscaling
Cloud Spanner regional instance keyed on (meter_id, timestamp)
BigQuery partitioned on ingestion date and clustered by meter_id
Cloud Bigtable is purpose-built for high-volume, single-keyed workloads such as time-series telemetry. It delivers single-digit millisecond latency for point reads or contiguous key-range scans, can ingest hundreds of thousands of writes per second, and supports cluster autoscaling with no downtime. A composite row-key such as meter_id#timestamp keeps recent data for each meter in the same locality, satisfying the 10 ms SLA. BigQuery is optimized for analytical scans and typically returns interactive rather than sub-10 ms responses. Cloud Spanner offers strong transactional semantics but its cost-per-throughput and read latency are higher for simple key-value access patterns. Firestore cannot sustain the required write throughput or latency at this scale. Therefore, Cloud Bigtable is the most appropriate choice.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a composite row key in Cloud Bigtable, and why is it used for meter_id and timestamp?
Open an interactive chat with Bash
How does Cloud Bigtable achieve high scalability and low latency for data ingestion and retrieval?
Open an interactive chat with Bash
Why is Cloud Bigtable more suitable than BigQuery, Cloud Spanner, or Firestore for this workload?
Open an interactive chat with Bash
GCP Professional Data Engineer
Storing the data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .