Eats data platform: Services for machine learning and audience segmentation

Fred Fu2 Sep 2022

Problem

At Coupang Eats, a food delivery business in Korea, every new ML feature needed an ad-hoc pipeline across fragmented systems and took one to two weeks to reach production. Teams also built separate pipelines for the same feature. Audience segmentation was manual: a business analyst (BA) wrote SQL, operations downloaded the result as an Excel file and uploaded it to a separate operations system, and each A/B test inside a task meant repeating the cycle.

Example from the article: to re-engage inactive users in certain areas of Seoul with discount coupons, a BA wrote the query, operations uploaded the Excel export, and only then could the coupon task start.

Solution in brief

Coupang built two self-service tools on one shared data platform. A feature service defines features as SQL on the OLAP engine and serves them online. A segmentation portal lets operators combine filters on pre-calculated profile tags, switch on "Split Segment" for A/B groups and pass a segment ID to the task page.

Questions this case answers
  • How to let non-technical operators select a target audience and randomize it into test groups without an engineer in the loop
  • How to cut the lead time of a new ML feature when each feature needs a custom ingestion pipeline owned by a different team
  • How to let business operators build target audience segments without writing SQL or passing Excel files around
  • How to split a target audience into A/B groups without re-segmenting and re-uploading the list for every test

Tools and methods

  • Feature service — define, compute and serve ML features in real-time, near-real-time and offline modes
  • Audience segmentation service — filter-based audience builder on profile tags, with optional split into child segments
  • ClickHouse — store for the offline and real-time profile tables
  • Apache Kafka — event stream feeding the pipelines
Continue reading — it's free

Google or a one-time email code. No password.