Design Real-User Page Load Telemetry for Chrome Like CrUX
Last updated: November 29, 2026
Quick Overview
Design a pipeline that collects page load performance metrics (LCP, INP, CLS) from opted-in Chrome users, aggregates them per origin and URL with privacy protections, and publishes monthly and daily datasets for web developers.
0
0
0 solved
Design a pipeline that collects page load performance metrics (LCP, INP, CLS) from opted-in Chrome users, aggregates them per origin and URL with privacy protections, and publishes monthly and daily datasets for web developers.
The Chrome User Experience Report and Core Web Vitals influence how the whole web is built, so this question blends client telemetry, privacy constraints, and large-scale aggregation. Interviewers check how candidates protect user privacy while still producing useful percentile data per site.
What the Interviewer Expects
- Collect metrics from opted-in clients with minimal overhead and no browsing identity
- Aggregate to origin and URL with histograms and p75
- Apply privacy thresholds so low-traffic sites are not exposed
- Design batch and daily pipelines plus a public BigQuery dataset and API
- Handle device and connection segmentation
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- Why report p75 and not the mean?
- How do you prevent a single user from dominating a small site's numbers?
- How would you detect a measurement bug in a new Chrome release?
- How would you add a new metric without breaking historical comparisons?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: for page loads by opted-in users, Chrome records LCP, INP, CLS, TTFB with origin, URL, device class and effective connection type. Publish per origin and popular URL histograms and p75...
High-Level Design
- Client: Chrome computes metrics in the renderer and bundles them into the existing usage statistics upload (batched, compressed, opt-in only), with the URL reduced to origin and path without que...