Wiki: River - A data flow management infrastructure
For agents: Markdown version · Wiki index · Explore
- Speaker: Harel Ben Attia
- Event: Reversim Summit 2013
- Video: https://www.youtube.com/watch?v=EzsckTggDiM
- Transcript: /transcripts/2013/28-EzsckTggDiM.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Data Engineering, DevOps, Software Engineering, Infrastructure
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker introduces River, a data flow management infrastructure built in-house to handle complex data processing tasks, dependencies, and execution history. The system addresses common challenges such as hardcoded dependencies and scattered logic by providing declarative definitions, automated retries, and comprehensive monitoring. Ultimately, the audience learns how to manage large-scale data workflows reliably while minimizing manual intervention by operations and development teams.
Key points
- 1:38 Data processing workflows consist of multiple stages where almost every output serves as input for subsequent processes.
- 2:45 Managing dependencies through code scripts or time-based scheduling creates significant scalability and maintenance issues.
- 7:14 The developed system, River, provides execution management, history tracking, built-in monitoring, and automated retries.
- 10:08 River simplifies development by using declarative process definitions and improving overall system visibility.
- 15:10 Switching to a data-driven approach instead of hardcoded or time-based dependencies makes the system more robust.
- 16:11 River breaks down tasks into jobs, steps, triggers, and execution locations to abstract away connection and infrastructure details.
- 24:35 Global monitoring, metrics, and dashboards allow operators to easily track job durations, active tasks, and system health.
- 40:02 The system runs successfully across multiple instances and teams, handling thousands of daily jobs with minimal manual intervention.
Takeaways
- Adopt data-driven triggers instead of rigid time-based schedules or hardcoded dependencies to build resilient workflows.
- Abstract infrastructure and connection management away from job developers so they can focus purely on business logic.
- Implement automated error handling and smart retry mechanisms to drastically reduce operational overhead.
Questions this talk answers
- How does River manage data dependencies between different processing jobs without hardcoding them?
- What mechanisms does the infrastructure use to handle automatic retries and failure recovery?
- Why build a custom data flow infrastructure instead of using existing open-source tools like Oozie?
Technologies
Hadoop, Cassandra, MySQL, Spring, JDBC, Hive
Tags
automation, data engineering, data pipelines, dependencies, infrastructure, monitoring, workflow management