Design Cold Start Time Collection for Instagram App Performance Dashboards

Last updated: November 29, 2026

Quick Overview

Design the system that measures how long the Instagram app takes to launch on real devices, aggregates the data, and shows percentile trends by app version, device class, and country.

Meta
System Design
Frontend Engineer
Meta
November 29, 2026
Frontend Engineer
Technical Screen
System Design
Easy

0

0

0 solved


Design the system that measures how long the Instagram app takes to launch on real devices, aggregates the data, and shows percentile trends by app version, device class, and country.

Meta treats app startup time as a key product metric, especially on low-end Android devices in emerging markets. The interviewer checks clear metric definitions, lightweight client logging, and percentile aggregation that is not biased.

What the Interviewer Expects
  • Define cold, warm, and hot start precisely
  • Log a small event from the client with sampling
  • Aggregate percentiles correctly by segment
  • Avoid biases (only successful launches, slow devices under-reporting)
  • Show regressions per release
Key Topics to Cover
Performance metrics
Percentiles
Sampling
Segmentation
Client logging
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • Why not average the start times?
  • How do you handle launches that crash before logging?
  • How would you compare versions fairly when rollout populations differ?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Metric: cold start = process start to first meaningful frame (feed rendered with content, not a splash). Warm and hot starts logged separately since they differ by an order of magnitude.

**Functi...

High-Level Design
  • Client: markers at process start and first frame; batch the event into the normal analytics logger, uploaded with other events.
  • Sampling: log for, say, 10% of sessions chosen by hash of de...

Submit Your Answer
Markdown supported