An IoT platform ingests JSON sensor events from 5 million devices every second. Product managers need sub-second dashboards that show per-device metrics for the last 24 hours, while data scientists require SQL access to two years of historical events for ad-hoc analysis at reasonable cost. Events can be eventually consistent beyond the dashboard window. Which storage approach best satisfies both access patterns with the least operational complexity?
Store events in Bigtable and use Bigtable Change Streams to continuously load data into BigQuery for long-term analytics.
Stream events directly into BigQuery using the Storage Write API and use BigQuery for both dashboards and historical analysis.
Batch events into Parquet files on Cloud Storage and query them with BigQuery external tables, while Cloud Functions read the files for dashboard queries.
Persist events to Firestore for real-time reads and schedule nightly exports of collections to BigQuery tables.
Cloud Bigtable delivers single-digit millisecond reads and writes, making it suitable for the low-latency dashboard. By configuring a max-age garbage-collection rule, rows older than 24 hours are automatically purged, keeping the operational dataset small. Bigtable Change Streams can stream each mutation to Dataflow, which writes the data into time-partitioned BigQuery tables. Analysts then query years of history in BigQuery without impacting dashboard latency or maintaining custom export jobs. Using only BigQuery would not guarantee sub-second per-device lookups, Firestore struggles with large-scale analytical scans, and Cloud Storage with Parquet files cannot provide millisecond queries.
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 Cloud Bigtable and how is it used for real-time analytics?
Open an interactive chat with Bash
What are Bigtable Change Streams and how do they integrate with Dataflow and BigQuery?
Open an interactive chat with Bash
Why is BigQuery not suitable for sub-second per-device lookups compared to Cloud Bigtable?
Open an interactive chat with Bash
What is Cloud Bigtable and how does it work?
Open an interactive chat with Bash
What are Bigtable Change Streams and their role in data pipelines?
Open an interactive chat with Bash
How do Cloud Bigtable and BigQuery differ in terms of use cases?
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 .