# Performant A/B Testing with Cloudflare Workers

DevFeed: [Performant A/B Testing with Cloudflare Workers](<https://devfeed.tech/articles/performant-a-b-testing-with-cloudflare-workers-29520.md>)

Original publisher: [Read original article](<https://philipwalton.com/articles/performant-a-b-testing-with-cloudflare-workers/>)

Published: 2021-12-20T14:01:14Z

Content type: tutorial

Language: en

Sources: [Philip Walton](<https://devfeed.tech/sources/philip-walton.md>)

Topics: [A/B Testing](<https://devfeed.tech/topics/a-b-testing.md>), [Cloudflare Workers](<https://devfeed.tech/topics/cloudflare-workers.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [inlining](<https://devfeed.tech/topics/inlining.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [cloudflare-workers](<https://devfeed.tech/tags/cloudflare-workers.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [inlining](<https://devfeed.tech/tags/inlining.md>), [performance](<https://devfeed.tech/tags/performance.md>)

## AI overview

This tutorial explains how to run performant A/B tests with Cloudflare Workers at the edge. It discusses the performance costs of client-side and origin-based server-side testing and introduces a cookie-based approach for assigning users to experiment groups.

## Source excerpt

I think there's a perception in our industry that A/B testing is super complicated and you really need a tool or service to do it right. And while I'm sure some aspects of A/B are quite complex