Problem
Fraud rules and ML models read aggregate features, for example the number of items a member sold or bought in the last three hours. Vinted, a second-hand marketplace, must catch scams, phishing, counterfeits and prohibited items at scale and fast. A batch job recomputes such a feature only every hour or day, so between runs the value is stale and actions rest on inaccurate input. Much of the malicious activity comes in the first hour after registration, so features for that window must be fresh. Streaming fixes freshness. It also brings state, time handling and 24/7 operations, which cost engineering time and compute.
Solution in brief
The speaker's heuristic: picture the feature as a batch job, and move it to streaming only when the gap between the batch value and reality hurts the fraud decision. Vinted runs both paths into one feature store: dbt on the warehouse for batch, Flink on Kafka for the features that need freshness. Result: feature latency of a few seconds; no fraud-catch numbers were published.
Questions this case answers
- How to decide whether a model feature needs stream processing or a scheduled batch job when stale values hurt decisions
- How to change or backfill a continuously running stateful feature pipeline without downtime
- How to decide whether a fraud-detection feature needs streaming or is fine as a batch job?
- How to serve fresh features to fraud models and rules within seconds of an event?
Tools and methods
- Apache Flink — stateful stream features
- Apache Kafka — event transport
- dbt — SQL batch features
- feature store — offline for training, online for inference
Google or a one-time email code. No password.