Problem
KION, the online cinema of MTS, works with six platforms, including smart TVs and many apps. Its teams needed to switch features off without a release, roll out to a share of devices and run 2–3 parallel A/B experiments on the storefront. The remote config of a search-related IT giant, used before, had trouble with version targeting and white/black lists, and sanctions risk meant it might stop working. Most ready-made tools target the web, and open-source ones were hard to modify.
Example from the article: a new model for building a personalized storefront is tested; if the group that saw it watched more, more often and for longer, the model stays in production.
Solution in brief
The team built its own Remote Config service. At start the app asks the server for a JSON config and a list of experiments. The server merges layered configs, decides experiment membership by hashing the client id with per-experiment salts and returns the result. The experiment list is attached to every product event, so analysts can split metrics by group.
Questions this case answers
- How to assign units to experiment variants deterministically and independently across many concurrent experiments on several client platforms
- How to change client behavior and release features gradually without shipping a new client build
- How to assign app users to A/B experiment groups on the server so that several experiments run in parallel without affecting each other
- How to change app behavior and roll out features to a share of devices without releasing a new app version
Tools and methods
- A/B test — salted-hash assignment, parallel experiments with independent splits
- Canary rollout — phased release, first to 10% of devices
- Apache Kafka — delivers events to the analytics store
- PostgreSQL — database behind the Django service
- Celery — background tasks, such as Telegram notifications
- Graylog — service logs
- Telegram — alerts on every config change
Google or a one-time email code. No password.