Detecting a Small Cold Start Latency Regression in an Instagram Release

Last updated: November 29, 2026

Quick Overview

A new Instagram app build might slow cold start by about 30 ms at p90. Design an experiment that can detect this and explain how you would analyze a percentile metric.

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

0

0

0 solved


A new Instagram app build might slow cold start by about 30 ms at p90. Design an experiment that can detect this and explain how you would analyze a percentile metric.

Performance experiments are common at Meta because small latency regressions add up across billions of app opens. The interviewer wants to see that you know percentiles need different inference than means and that device and network mix must be controlled.

What the Interviewer Expects
  • Chooses a randomized comparison within the same app version population
  • Defines the metric precisely, including per-user versus per-open
  • Uses bootstrap or quantile regression for percentile differences
  • Controls for device class and network type
  • Connects latency to engagement guardrails
Key Topics to Cover
Performance experiments
Percentile metrics
Bootstrap
Device stratification
Latency regressions
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 not compare the new build to the previous build's numbers from last week?
  • How do you handle users with hundreds of app opens?
  • What sample size would you need for a 30 ms change at p90?
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

Ask whether the change can be gated with a server-side flag inside the new build (best), or only exists in the build itself. If it is build-only, users self-select into updating, so comparing old and ...

Approach

Put the risky code path behind a flag in the release and randomize users who installed that build into flag on and flag off. Both arms then share the same build, device mix and update behavior; only t...


Submit Your Answer
Markdown supported