Daily iOS
Build and distribution

A/B experiments

You're adding A/B experiments to the app. Where and how would you assign users? Describe the design from the client side.

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

The server or an experiment SDK decides the assignment from a hash of the user or device ID, and the client fetches the experiment parameters, caches them, holds them steady for the session, and logs an exposure event. Random assignment on the client moves the same user between groups, so you avoid it.

Share a question