
Application Performance - A/B testing
A/B testing or canary deployments technique allow developers to experiment with two or more variants of a web page.
- Do your require stickiness (e.g. the same user will always get the same variant)? Stickiness is usually implemented using cookies.
- What dimensions are used to select a variant for a user? country, user-id, etc..
- How frequently do you do A/B testing? Heavy usage of A/B testing with many experiments running in parallel by different teams, requires a more sophisticated implementation compared to simpler, occasional A/B testing.
- A viewer request function, that inspects the experiment cookie value of incoming requests, and based on it rewrites the URL to the selected page variant. If the cookie is not present, the function selects the variant using your custom logic, such as 60% for variant A and 40% for variant B, only for requests coming from France.
- A viewer response function, that sets the cookie on the client based the selected variant, if the cookie was not already present. The experiment cookie is used to make sure a single user always receives the same variant of the page to avoid breaking their web experience.
key value datastore at scale (millions of requests per second).
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.