DaTaStretch
This project introduces a new framework for pipeline-operations. It provides an easy way to create arbitrary pipelines and is capable to run them in parallel. Tasks executed by the pipeline are fully specified by the developer, furthermore the dependencies among the tasks must be specified. DaTaStretch then finds the best way to parallelize the execution of those tasks with respect to the defined dependencies. Therefore it builds a task graph and an execution graph which represent the order of task-executions. Both graphs can be plotted by DaTaStretch for debugging-purposes.
How to setup
The setup can be done as follows:
- Execute 'pip install datastretch'
- Import 'datastretch'
- Define your tasks by creating classes inheriting from the Task-class
- Define dependencies between your tasks.
- Create a Pipeline-object
- Create the needed stages and add your tasks there
- Add the stages to the pipeline and run it!