Testing Whether a Messenger Change Cuts p95 App Start Time

Last updated: November 29, 2026

Quick Overview

An engineering change to Messenger startup is expected to help slow devices most. Design the experiment and analysis to show it reduces 95th percentile cold start time, not just the average.

Meta
Analytics & Experimentation
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Hard

0

0

0 solved


An engineering change to Messenger startup is expected to help slow devices most. Design the experiment and analysis to show it reduces 95th percentile cold start time, not just the average.

Performance work at Meta is judged on tail latency, and DS partners must analyze quantiles correctly. The interviewer checks quantile treatment effects, clustering by user, and segmenting by device class.

What the Interviewer Expects
  • Define the metric at the right unit (start events versus users)
  • Explain why a t-test on means misses tail changes
  • Estimate a quantile difference with user-level bootstrap
  • Segment by device tier
  • Add engagement guardrails
Key Topics to Cover
quantile treatment effects
tail latency
bootstrap
clustered data
performance experiments
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • Why can't you treat each cold start as independent?
  • How would you compute a confidence interval for the p95 difference?
  • Would you compare per-user p95 values or pooled p95?
Sharpen Your Skills on Codemia

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

Browse Analytics Questions
Sample Answer
Clarify
  • Treatment: lazy-load non-critical modules at startup.
  • Metric: cold start duration (tap to first interactive frame), logged per start.
  • Users have very different numbers of starts per day; low-end...
Approach

The goal is the tail, so estimate a quantile treatment effect: Δ0.95=QT(0.95)−QC(0.95)\Delta_{0.95}=Q_T(0.95)-Q_C(0.95), where QQ is the quantile of the cold start distribution in each arm. Two definitions:

  1. **Pool...

Submit Your Answer
Markdown supported