Design Real-Time Client Performance Telemetry for Roblox Experiences
Last updated: November 29, 2026
Quick Overview
Design a pipeline that collects frame rate, memory, network ping and crash reports from Roblox clients on phones, PCs and consoles, and shows creators and internal engineers near real time dashboards and alerts by experience, device and app version.
Roblox
November 29, 20260
0
0 solved
Design a pipeline that collects frame rate, memory, network ping and crash reports from Roblox clients on phones, PCs and consoles, and shows creators and internal engineers near real time dashboards and alerts by experience, device and app version.
Roblox runs on a huge range of devices, many of them low-end phones, so client performance observability is a core infra concern. The interviewer checks sampling, pre-aggregation, high-cardinality dimensions, the split between hot and cold storage, and how alerts catch a bad client release.
What the Interviewer Expects
- Define event types and sampling rates on the client
- Batch and compress uploads to protect players' bandwidth and battery
- Pre-aggregate in streaming jobs into histograms by key dimensions
- Store aggregates in a time-series or OLAP store and raw samples in cheap storage
- Alert on regressions by app version and device class
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
- How do you compute p95 frame time across many shards without storing every sample?
- How would you detect that a new client build crashes on one Android GPU?
- How do you limit cardinality when creators can add custom tags?
- How long should raw data be kept, and why?
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
Metrics: frame time, memory, ping, load time, crash events with stack traces. Dimensions: experience, place, device model, OS, client version, region. Freshness under 1 minute for dashboards, 5 minute...
High-Level Design
- Client SDK keeps local histograms per minute and uploads one compact batch per minute; crashes upload on next launch.
- Ingestion edge accepts batches, authenticates the client, and writes...