Architecture Introduction
System Architecture Diagram
Architecture Explanation
Rill Flow is a process orchestration and task execution framework based on Directed Acyclic Graph (DAG), primarily consisting of three functional modules: Process Trigger, Process Orchestration, and Task Execution.
- Process Trigger: Rill Flow supports various triggering methods, including scheduled task triggers, message event triggers, and API interface triggers. Users can choose the appropriate trigger method according to their specific needs.Users can select appropriate triggers based on actual needs.
- Process Orchestration: Rill Flow offers two types of process diagram orchestration methods: visualization and YAML editing. These allow users to easily define and manage business processes.
- Task Execution: Rill Flow supports scheduling of multiple task executors, including HTTP, Serverless Function, GPT interface, custom extension executors, and remote executors, enabling users to customize task executors based on their needs.Users can customize task executors based on actual needs.
Core Modules
- DagParser: The DAG Parser is responsible for parsing user-defined DAG diagrams and generating executable task flows.
- DagTraversal: The DAG Traversal module is tasked with traversing the DAG diagram to select the currently executable task nodes.
- TaskDispatcher: The Task Dispatcher schedules the executable task nodes to the matching task executors for execution.