Csanád Bakos - Real-time vs Batch Features for Fraud Detection at Vinted @PyDataTV
Csanád Bakos - Real-time vs Batch Features for Fraud Detection at Vinted  @PyDataTV
Uploaded November 2026 | Updated December 2026, 1 day ago
This talk draws from production experience building and operating a real-time feature platform at a large online second-hand marketplace. The platform runs dozens of independent Apache Flink streaming jobs computing user behavior signals for ML-based fraud detection, processing millions of events per second.

**Outline with timing (25 min talk + 5 min Q&A):**

- **Why real-time features for fraud detection** (5 min)

- The fraud timeline: what happens between a bad actor's first action and detection

- Batch features introduce a blind spot of tens of minutes to hours. Streaming closes it to seconds

- When the added complexity of real-time is justified — and when batch is good enough

- **Architecture: from event streams to inference and training** (10 min)

- Event-driven pipeline: CDC and event streams from Kafka → Flink processing → Feature Store → ML inference

- Reactive triggers: ML re-scoring fired automatically based on feature updates or specific user actions

- Reusing streaming output for model training: sinking features to a data warehouse. Why a raw dump isn't suitable for training and the strategies we applied to make it work alongside batch-produced datasets (backfills, deduplication, data cleaning)

- **Streaming vs batch feature engineering** (7 min)

- Fundamental differences: bounded vs unbounded data, incremental vs full recomputation

- Key Flink building blocks that make real-time work: stateful operators, fault tolerance, exactly-once guarantees, horizontal scaling

- Operational realities: checkpointing, state management, deployment complexity

- Flink can also do batch — but when real-time isn't needed, dbt with your favourite data warehouse is likely a better fit — will explore why

- **Wrap-up and Q&A** (3 min + 5 min)

- Key lessons and challenges that remain

- Open discussion

**Approach:** Practical and experience-driven. Architecture diagrams, concrete production examples, and honest discussion of trade-offs. No live coding or demos.

**Required background knowledge:** Basic understanding of what ML features are. Familiarity with Kafka or event-driven systems is helpful but not required — key concepts will be briefly introduced.

**Scope:** We focus on the architecture and trade-offs of real-time feature engineering for ML, not on Flink APIs or framework internals. The talk is grounded in a fraud detection use case but the patterns are applicable to any domain where feature freshness matters. We will not compare Flink to other stream processing frameworks directly, but the principles shared will help attendees evaluate what capabilities matter for their own use cases.

pydata.org

PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.

PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.

00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.

Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps
Csanád Bakos - Real-time vs Batch Features for Fraud Detection at VintedGive Me 5 S2E3: How to support PyData LisbonRalf Gommers path to NumPy and SciPy | Give Me 5, Season 3, Episode 3J. Nelen - A/B Testing Plenary Debates in the Dutch Parliament with Multi-Agent AI using LangGraphAlexander Kern & Guus van der Ham - Fix the Data, Not the ModelQuick Fire Questions with Peter Wang | GM5 S3E5 PreviewOn Interventional Generalisation [PyCon DE & PyData 2026]GM5 S3E2 just dropped, featuring Abby Tse!Give Me 5 Season 2 BONUS CONTENT: 4 voices, 1 Community.Open Table Formats in the Wild™ - Reloaded: Vortexing Ducks over Floating IcebergsThijs Nieuwdorp - How Polars Tackles Megabyte to Terabyte WorkloadsBuilding Agentic Systems with Python, LangGraph, MCP, and A2A [PyCon DE & PyData 2026]
PyData |

Csanád Bakos - Real-time vs Batch Features for Fraud Detection at Vinted

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER