Skip to Content
Understanding Experimentation Platforms
book

Understanding Experimentation Platforms

by Adil Aijaz, Trevor Stuart, Henry Jewkes
April 2018
Intermediate to advanced
30 pages
36m
English
O'Reilly Media, Inc.
Content preview from Understanding Experimentation Platforms

Chapter 2. Building an Experimentation Platform

An experimentation platform is a critical part of your data infrastructure. This chapter takes a look at how to build a platform for scalable experimentation. Experimentation platforms consist of a robust targeting engine, a telemetry system, a statistics engine, and a management console.

Targeting Engine

In an experiment, users (the “experimental unit”) are randomly divided between two or more variants1 with the baseline variant called control, and the others called treatments. In a simple experiment, there are two variants: control is the existing system, and treatment is the existing system plus a new feature. In a well-designed experiment, the only difference between treatment and control is the feature. Hence, you can attribute any statistically significant difference in metrics between the variants to the new feature.

The targeting engine is responsible for dividing users across variants. It should have the following characteristics:

Fast

The engine should be fast to avoid becoming a performance bottleneck.

Random

A user should receive the same variant for two different experiments only by chance.

Sticky

A user is given the same variant for an experiment on each evaluation.

Here is a basic API for the targeting engine:

/** * Compute the variant for a (user, experiment). * * @param userId - a unique key representing the user * e.g., UUID, email * @param experiment - the name of the experiment * @param attributes - optional ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Flow Architectures

Flow Architectures

James Urquhart
Building Evolutionary Architectures

Building Evolutionary Architectures

Neal Ford, Rebecca Parsons, Patrick Kua

Publisher Resources

ISBN: 9781492038139