Judging a WhatsApp Media Upload Change by Tail Latency
Last updated: November 29, 2026
Quick Overview
A WhatsApp change to image compression lowers median upload time 8% but may slow the slowest uploads. How would you test whether p99 upload latency got worse, and how should tail latency enter the launch decision?
Meta
November 29, 20260
0
0 solved
A WhatsApp change to image compression lowers median upload time 8% but may slow the slowest uploads. How would you test whether p99 upload latency got worse, and how should tail latency enter the launch decision?
WhatsApp serves billions of users on poor networks and low-end phones, so performance launches are judged on the tail as much as the median. Interviewers want to see that you can compare quantiles correctly, account for clustering of uploads within users, and connect the tail to user outcomes.
What the Interviewer Expects
- Explain why medians and means can hide tail regressions
- Estimate the difference in p99 with a valid interval
- Resample at the user level when users contribute many uploads
- Segment by network and device class
- Tie tail latency to outcomes like failed or abandoned sends
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 is resampling individual uploads wrong here?
- What if the p99 regression is entirely on 2G networks?
- How would you set a guardrail threshold for p99?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Confirm the randomization unit (user), the metric (seconds from tap to server acknowledgment per upload), and how failures and cancellations are logged, since a failed upload has no latency and can ma...
Approach
Compare quantiles of the upload time distribution between arms. There is no simple closed-form standard error for a quantile difference, so bootstrap it. Because uploads cluster within users (heavy us...