v9.1.1
Menu

Large-Scale A/B Testing Platform

hardPROSystem ArchitectureML System DesignML System Design 2

Design an experimentation platform that can run thousands of concurrent A/B tests with proper statistical methodology.

Scenario: A large tech company runs 3,000+ A/B tests simultaneously across web, mobile, and backend services. Each test may affect overlapping user populations. The platform must ensure statistical validity, detect metric movements quickly, avoid false positives from multiple testing, and provide automated analysis for non-statistician product teams.

Your Task: Design the end-to-end experimentation platform from experiment setup to automated decision reports.

Your design should address:

  1. User assignment and traffic splitting with consistent hashing
  2. Metric computation pipeline for thousands of metrics per experiment
  3. Statistical analysis with proper corrections for multiple comparisons
  4. Sequential testing for early stopping without inflating false positive rates
  5. Interaction detection between overlapping experiments

Think about: Network effects, novelty/primacy effects, metric sensitivity (power analysis), guardrail metrics, and automating experiment decisions.

Learn this in

More from ML System Design 2

Design mode

Your design approach

Describe your system design approach. Consider components, data flow, and key decisions.

Design questions(Select all that apply)

Q1How should the platform handle multiple concurrent experiments that might interact?

Q2What statistical methodology prevents false discoveries at scale?

Q3How should the platform handle metrics with high variance (e.g., revenue per user)?

Q4What guardrail metrics should every experiment monitor?

0 of 4 questions answered