Slopfluencer

Notes › Products and projects

Reading list: online controlled experiments

An online controlled experiment, or A/B test, splits users at random into groups that see different versions of a product and compares a metric between them. Running one is easy. Running hundreds a year without fooling yourself takes statistics, infrastructure and team habits. This is the list of public papers, talks and engineering posts I learned these from while working on the Growth team at Noom, a consumer health app, from 2018 to 2023. I published a first version in January 2023.[1][2] Lessons from growth: experiments, flags and fit explains how experiments and feature flags work and how my team ran them.

Where to start

  • Kohavi, Tang and Xu, Trustworthy Online Controlled Experiments: A Practical Guide to A/B Testing (2020).[3] The standard practical guide, written by people who ran experimentation at Microsoft, Google and LinkedIn. I recommend it first to anyone new to the subject. It was required reading for everyone on my team, who called it the "Experimentation Bible".[1]

Papers

These are mostly written by the engineers and data scientists who built experimentation at large web companies. Oldest first.

  • Kohavi et al., Controlled experiments on the web: survey and practical guide (2009).[6] An early survey of how to run web experiments well, covering the statistics, the design of the system and the common ways results go wrong.
  • Tang et al., Overlapping Experiment Infrastructure: More, Better, Faster Experimentation (2010).[4] How Google split its traffic into overlapping layers so that one user can be in several experiments at once, plus the tools and training it found an infrastructure needs to be used well.
  • Kohavi et al., Online Controlled Experiments at Large Scale (2013).[5] Lessons from Microsoft's Bing, which by then ran over 200 concurrent experiments on any given day, grouped into cultural, engineering and trustworthiness problems.
  • Kohavi et al., Seven Rules of Thumb for Web Site Experimenters (2014).[8] Practical rules drawn from many experiments, among them that small changes can move key metrics a lot and that large positive effects are rare.
  • Kaufman, Pitchforth and Vermeer, Democratizing online controlled experiments at Booking.com (2017).[7] How the travel site, after more than ten years of experiments, built a shared record of successes and failures and a code library that keeps experiment logic loosely coupled to business logic, so that any team could run tests.
  • Xu, Duan and Huang, SQR: Balancing Speed, Quality and Risk in Online Experiments (2018).[9] LinkedIn's framework for ramping an experiment up to full traffic. Ramping too slowly wastes time, and ramping too fast leads to bad decisions, so the paper sets out principles for each of four ramp phases.
  • Forsell et al., Success Stories from a Democratized Experimentation Platform (2020).[10] Netflix describes four statistical models added to its platform, from weighted least squares to dynamic treatment effects. What interested me most was that people contribute reports, statistical methods and metrics to the platform through R and Python notebooks.[1]
  • GrowthBook's statistics whitepaper (2021). GrowthBook is an open-source experimentation platform, and my list included its 2021 whitepaper on how it analyzes results.[1] Its public statistics documentation now covers the same ground, with both Bayesian and frequentist engines.[11]

Talks

  • Ron Kohavi, Online Controlled Experiments: Lessons from Running A/B/n Tests for 12 Years (2015).[12] A talk to the San Francisco Bay chapter of the ACM by the lead author of the book above.
  • Stanford Seminar, Peeking at A/B Tests: Why It Matters and What to Do About It.[13] The talk that taught me the peeking problem, the false positives a team gets by stopping a test as soon as it looks significant.[1] Lessons from growth explains it and the always-valid methods that fix it.

How companies built their platforms

These engineering posts describe in-house experimentation platforms.

  • Microsoft Research, Experimentation Platform (ExP).[14] The group page of the Microsoft team behind much of the published research on experiments.
  • Twitter experimentation: technical overview (2015).[19] Built on feature flags. I found little in it that other posts did not cover.
  • Netflix, It's All A/Bout Testing (2016).[18] Most useful for its account of two ways to put members into a test. Batch allocation uses a query to pick a fixed, known set of members, which is flexible but cannot include brand-new customers or react to what users do. Real-time allocation evaluates rules as users interact with the service, which fixes both problems but adds latency to the calling app and makes it hard to predict how long a test will take to fill.
  • Stitch Fix, Building our Centralized Experimental Platform (2019).[15] The clothing service automated its analysis. The post is light on detail.
  • Zalando, Experimentation Platform at Zalando: Part 1, Evolution (2021).[20] The European fashion retailer's history of its platform, Octopus, named after Paul the Octopus, who picked the winners of World Cup matches in 2010. It frames the stages of a platform as crawl, walk and run, the way Kohavi does, and its system supports staged rollouts.[1]
  • Automattic, ExPlat: Automattic's Experimentation Platform (2021).[24] The company behind WordPress.com built a tool called Abacus that lets anyone at the company, not only engineers and data scientists, schedule and analyze experiments, with both real-time and batch assignment.
  • Airbnb, Scaling Airbnb's Experimentation Platform.[17] Useful for how the data processing works. Moving metric computation onto Airflow, a workflow scheduler, cut the platform's runtime from 24 hours to 45 minutes.[1]
  • Intuit, Meet Wasabi, an Open Source A/B Testing Platform.[16] An open-source platform that was no longer under active development when I listed it.[1]
  • Uber, Under the Hood of Uber's Experimentation Platform.[21] The most detailed of these posts, with screenshots. Uber uses fixed-horizon tests, sequential tests, causal inference methods and multi-armed bandits, which shift traffic toward better variants while a test runs. The platform flags two problems during analysis: a sample ratio mismatch between control and treatment, and "flickers", users who switched between groups. Before analysis it removes outliers, reduces variance with CUPED, a method that uses each user's behavior before the experiment to cut noise, and corrects pre-experiment differences between groups. A sequential test watches business metrics such as app crash rates during every experiment and alerts or pauses one that causes harm, without waiting for the full sample. Bandits are used for content optimization, spend optimization, tuning model hyperparameters and automated rollouts.[1]
  • Uber, Building an Intelligent Experimentation Platform.[22] Uber also uses the platform for staged rollouts. Its analysis tool stopped precomputing metrics and instead runs SQL when someone opens a report, which cut storage costs and the time to produce an analysis.[1]
  • Denise Visser, In-house experimentation platforms.[23] A list of the platforms that various companies built for themselves, a good index for finding more posts like these.

Lessons for growth engineers

In 2023 I outlined a guidebook for growth engineers that I never wrote (personal notes, 2023). Its main lessons follow.

Velocity is the most important metric, because the faster a team iterates, the faster it learns. That means getting comfortable with breakage. A fast team will make mistakes, so it should limit the blast radius of each change, watch its monitoring, stop as soon as it suspects a problem and hold blameless postmortems. I went as far as saying growth teams should deploy on Fridays and at night.

Technical debt is a lever to use sparingly. Growth code changes so often that debt piles up fast, so abstractions should stay as simple as possible, and dead experiments must be removed from the codebase. Learning to cut corners is part of the job, since a rough version that teaches the team something quickly beats a polished one that teaches it slowly. Engineering time is a cost, and an engineer should weigh it against the likely upside of the experiment.

Engineers should form their own hypotheses and run their own experiments, including several of their own ideas, and anyone in the company should be able to propose one. That requires knowing statistics. A/B tests are not the only way to learn either, and in a company still looking for product-market fit, engineers should talk to customers.

For the stack, I would pick boring, proven technology the team already knows and can hire for, track business metrics alongside system metrics, and make every change easy to revert in Git. I also wanted to rotate engineers between experiments, platform work and cleanup. One question I could not settle in the outline was whether growth code should be isolated from the rest of the codebase or mixed in with it. Complexity is the enemy has the general case for small scope and boring tools.

See also

Change log

  • 2026-12-03: First written, from my 2023 experimentation reading list, the public papers, talks and posts it links, and my 2023 outline of a guidebook for growth engineers.

References

  1. ^ Experimentation reading list (post, Jan 2023)
  2. ^ Moving onto a new chapter (post, Jun 2023)
  3. ^ Kohavi, Tang and Xu, Trustworthy Online Controlled Experiments: A Practical Guide to A/B Testing (Cambridge University Press, 2020)
  4. ^ Tang et al., Overlapping Experiment Infrastructure: More, Better, Faster Experimentation (Google, 2010)
  5. ^ Kohavi et al., Online Controlled Experiments at Large Scale (2013)
  6. ^ Kohavi et al., Controlled experiments on the web: survey and practical guide (2009)
  7. ^ Kaufman, Pitchforth and Vermeer, Democratizing online controlled experiments at Booking.com (2017)
  8. ^ Kohavi et al., Seven Rules of Thumb for Web Site Experimenters (2014)
  9. ^ Xu, Duan and Huang, SQR: Balancing Speed, Quality and Risk in Online Experiments (2018)
  10. ^ Forsell et al., Success Stories from a Democratized Experimentation Platform (2020)
  11. ^ GrowthBook, Statistics (documentation)
  12. ^ Ron Kohavi, Online Controlled Experiments: Lessons from Running A/B/n Tests for 12 Years (SF Bay ACM talk, Nov 2015)
  13. ^ Stanford Seminar, Peeking at A/B Tests: Why It Matters and What to Do About It (video)
  14. ^ Microsoft Research, Experimentation Platform (ExP)
  15. ^ Stitch Fix, Building our Centralized Experimental Platform (2019)
  16. ^ Intuit, Meet Wasabi, an Open Source A/B Testing Platform
  17. ^ Airbnb, Scaling Airbnb's Experimentation Platform
  18. ^ Netflix, It's All A/Bout Testing: The Netflix Experimentation Platform (2016)
  19. ^ Twitter experimentation: technical overview (2015)
  20. ^ Zalando, Experimentation Platform at Zalando: Part 1, Evolution (2021)
  21. ^ Uber, Under the Hood of Uber's Experimentation Platform
  22. ^ Uber, Building an Intelligent Experimentation Platform with Uber Engineering
  23. ^ Denise Visser, In-house experimentation platforms (LinkedIn)
  24. ^ Automattic, ExPlat: Automattic's Experimentation Platform (2021)