Scaling Reliable Experimentation in a Two-Sided AdTech Marketplace: ZMS Budget Split
In a two-sided retail media marketplace, A/B test variants that draw from shared advertiser budgets violate SUTVA, because a more efficient treatment drains the budget and depresses control metrics (cannibalization bias). Zalando's ZMS solves this with Budget Split, which partitions each campaign into virtual sub-campaigns proportional to traffic so each variant runs isolated auctions. Orthogonal Concurrency extends the approach to concurrent experiments by splitting budgets into cross-product buckets (e.g., 1A2A, 1A2B, 1B2A, 1B2B). Residual interference from algorithmic campaign steering, shared pre-experiment ML training data, manual ops interventions and right-censoring is still monitored, and experiment volume grew from 8 in 2023 to over 60 in 2025.
Related posts
- Ensuring Even Ad Spend on the Zalando Homepage: How Our New Bidding Algorithm Maximizes Value for Advertisers and Shoppers
Zalando Engineering mediumAdeptZalando Marketing Services replaced its homepage ad bidding formula with a feedback-controlled pacing strategy that scales each bid by (1 − spent)/(1 − expected even spend), splitting budget into hourly buckets based on traffic forecasts. The old factor, 1 − r·t·(1 − t), lowered bids in the first half of each hour and raised them in the second regardless of whether a campaign was over- or under-spending. The new factor raises bids when underspending, lowers them when overspending, and holds steady at even spend, converging to an equilibrium price. A budget-split A/B test showed 10% more ad views, roughly 10% lower CPV, 23% more clicks and 11% higher CTR, with no significant impact on homepage experience metrics.
- A/B test models in production
Together AI mediumAdeptTogether AI endpoints can run A/B experiments natively: one control and up to 20 variant deployments, each with a fixed percent share summing to 100, subdivide the control's share of the base traffic split so clients keep the same endpoint and keys. Shares are independent of replica counts. Variants must carry zero split weight. Updates replace the full member list and are guarded by etags against concurrent edits. Requests can stick to an arm via a sampling key such as `user` or `prompt_cache_key`, and a winning variant is promoted with a blue-green rollout before the experiment is deleted. In a live 3 RPS run, observed shares closely matched 95/5, 80/20 and 50/50, routing changes propagated in 30–60s, and deletion returned 100% of traffic to the control.
- 10 Lessons Learned From Online Experiments
Shopify Engineering mediumAdeptTen practical lessons from a year of online A/B experiments on Shopify's multi-currency, geolocation and translation features. Randomization units should be independent (user rather than session, to avoid carryover), and simulations are a fast way to check statistical worries such as false-positive inflation when randomization and analysis units differ. A/A tests with redirects surfaced sample ratio mismatch caused by bots and client-side pageview logging, and in another experiment SRM traced to cookie-based qualification logic flipped the result from negative to positive. Other lessons: understand your data pipeline and log generously, peek at results (without stopping early) to catch outliers like a single high-volume store, and slice results by segment because the overall number is only an average.
- When Can You Ship on Offline Evals Alone?
Spotify Engineering hardMasterShipping AI changes on offline evals alone, without A/B tests, can bound the risk of harming online metrics only under strong assumptions: a homogeneous, exchangeable corpus of paired offline/online effects, known measurement error, and LLM-judge bias that doesn't depend on the treatment arm. Ignoring measurement noise badly attenuates the observed offline-online correlation (24% naive R² vs 60% true in the worked example), and pooling heterogeneous experiments can produce Simpson's-paradox false surrogacy. The proposed decision gate ships or kills only on sufficiently strong eval effects, with thresholds that scale with surrogate strength, routes the middle to A/B tests, and keeps a random audit pool to detect drift. Spotify still pairs offline evals with online experiments.
- Parallel Run Pattern - A Migration Technique in Microservices Architecture
Zalando Engineering mediumAdeptZalando's Returns team extracted returns logic from a legacy monolith into a new microservice using the Parallel Run pattern. After responding to the client, the monolith asynchronously POSTs the original request and its response to a /consistency-checks endpoint, which replays the request locally and compares status, headers and body, emitting matched/unmatched/failed metrics to Prometheus and Grafana. Each endpoint had its own consistency threshold, and traffic was switched one endpoint at a time via the Skipper proxy, which also made rollback a proxy config change. Tradeoffs include roughly doubled load, tricky comparisons (headers, ordering, PDFs), GDPR handling of captured data, unsuitability for non-idempotent endpoints, and significant setup and cleanup effort.