Your manufacturing company operates 50,000 IoT sensors that emit one reading every 100 ms, resulting in several terabytes of data per day. You must build a managed storage layer that ingests this stream continuously, keeps 30 days of history, and powers real-time dashboards that query recent readings for individual devices with single-digit-millisecond latency. The schema consists of timestamp, device_id, and numeric metrics that evolve over time. Which Google Cloud service and design best satisfy these requirements while minimizing operational overhead?
Store each reading as a document in Firestore in Datastore mode, keyed by device_id/timestamp, and query with composite indexes.
Ingest the sensor stream into Cloud Bigtable and design the row key as reverseTimestamp#deviceId to support low-latency range scans.
Load the data into partitioned BigQuery tables clustered by device_id and serve the dashboard through BI Engine.
Insert each reading into Cloud Spanner tables partitioned on device_id with a secondary index on timestamp for recent queries.
Cloud Bigtable is built for very high write throughput and offers single-digit-millisecond read latency at petabyte scale. A composite row-key such as reverseTimestamp#deviceId keeps the most recent measurements for each sensor adjacent on disk, enabling efficient time-range scans and point lookups that power real-time dashboards. Bigtable clusters scale storage and compute independently and require little administration. BigQuery, Firestore, and Cloud Spanner are all fully managed, but their typical query latencies or cost profiles make them less suitable for this high-ingest, low-latency time-series workload.
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.
Why is Cloud Bigtable more suitable for high-ingest, low-latency workloads compared to BigQuery?
Open an interactive chat with Bash
What is the significance of the reverseTimestamp#deviceId row key design in Cloud Bigtable?
Open an interactive chat with Bash
How does Cloud Bigtable minimize operational overhead compared to other database services?
Open an interactive chat with Bash
Why is Cloud Bigtable suitable for high-ingest, low-latency workloads?
Open an interactive chat with Bash
What are the advantages of using a composite row key in Cloud Bigtable?
Open an interactive chat with Bash
How does Cloud Bigtable compare to BigQuery for time-series IoT data workloads?
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
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .