Your e-commerce platform must ingest about 200 000 JSON clickstream events per second from users around the world. Engineers need millisecond-level reads on the most recent minute of traffic for real-time personalization, while analysts expect sub-second ad-hoc SQL queries on six months of historical data. You want a fully managed design that minimizes operational overhead and controls storage cost. Which architecture best satisfies both requirements?
Persist events in Firestore (Native mode) and enable automatic export of the collection to BigQuery for analysis.
Stream events into Cloud Bigtable for serving reads; use Dataflow to dump snapshots to Cloud Storage and load them into partitioned BigQuery tables for analytics.
Write events to Memorystore for Redis for low-latency access; export cached keys nightly to BigQuery using Cloud Functions.
Stream events into Cloud SQL (PostgreSQL) via Dataflow; create read replicas and use federated queries for analytics.
Cloud Bigtable is designed for very high write throughput (hundreds of thousands of rows per second) with single-digit millisecond latency, making it well suited for the operational serving workload. A Dataflow pipeline can periodically read from Bigtable and write to date-partitioned BigQuery tables-either by loading files staged in Cloud Storage or by streaming directly-providing a serverless warehouse where analysts can run interactive SQL on months of data at low cost. Cloud SQL cannot ingest or scale to 200 000 writes per second, Memorystore is an in-memory cache without durable storage or analytical interfaces, and Firestore hard-limits writes to roughly 10 000 per second per database, so those alternatives fail the throughput or durability requirements.
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 why is it suitable for high throughput workloads?
Open an interactive chat with Bash
How does Dataflow integrate with Bigtable and BigQuery in this architecture?
Open an interactive chat with Bash
Why are the other options unsuitable for handling the given workload?
Open an interactive chat with Bash
What is Cloud Bigtable, and why is it suited for high write throughput?
Open an interactive chat with Bash
How does Dataflow integrate with Cloud Bigtable and BigQuery?
Open an interactive chat with Bash
Why are alternatives like Cloud SQL, Memorystore, and Firestore not suitable for this use case?
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 .