Problem
Coupang Eats, a food delivery business launched in late 2019 as a latecomer, runs ML delivery-time prediction, promotions automated by real-time user tags, and data services for dashboards and metrics. Early on, each team trained its own models, ingested its own data and ran its own data science services. The result was inefficient feature engineering, lagging metric alerts and no data visualization. The duplicated work wasted engineering time and slowed growth.
Example from the article: an order must be assigned to a delivery partner within a few seconds, while customer segmentation for targeted ads need not run in real time.
Solution in brief
The team built one central platform with three pipelines by latency: batch (at least 1 hour), near real-time (30 seconds or more, scheduled SQL on an OLAP engine) and pure real-time (under 1 second, Kafka with predefined aggregators). All three are configuration-driven: a user adds a source or feature through metadata or SQL, not pipeline code.
Questions this case answers
- How to let analysts and data scientists add new features and signals to an online store through configuration instead of writing a pipeline for each one
- How to serve data tasks whose latency needs differ from sub-second to hourly without running everything on a streaming stack
- How to stop every team from building its own feature pipelines and data services?
- How to sync batch-computed features to an online store without heavy bulk uploads?
Tools and methods
- Configuration-driven pipeline — a new source or feature is a metadata definition, not new code
- Generic Spark SDK — syncs Hive features to the online feature store
- OLAP engine with scheduled SQL — wide tables and near-real-time signals
- Apache Kafka — ingestion and output for near-real-time and real-time flows
- Pre-implemented aggregators — about 10 statistical functions driven by feature metadata
Google or a one-time email code. No password.