tezvyn:

Prevent conflicting experiments with layers

Source: interviewintermediate

WHAT IT TESTS: enforcing mutual exclusion via layered assignment. OUTLINE: group conflicting experiments into one layer so a user's per-layer bucket maps to at most one of them; orthogonal layers can overlap.

WHAT IT TESTS: whether you can structurally prevent two experiments from colliding on the same surface. ANSWER OUTLINE: introduce layers (or domains): a layer partitions traffic, and all experiments competing for the same surface, like checkout, live in one layer so they are mutually exclusive. A user is deterministically hashed within the layer to a bucket that maps to at most one experiment, so they can never be in two checkout tests at once. Independent surfaces use separate orthogonal layers that can overlap freely.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Prevent conflicting experiments with layers · Tezvyn