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
November 29, 20260
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
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- 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 QuestionsSample 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...