dagu icon indicating copy to clipboard operation
dagu copied to clipboard

Feature Request: Looping and Parallel Processing in DAG Steps

Open rrottmann opened this issue 1 year ago • 1 comments

Currently, in order to run code in a loop and do parallel processing, a shell script is required. However, this happens all in the same step and can make the output difficult to read and troubleshoot. It would be useful to have the ability to loop a step and do parallel processing within the DAG itself.

Suggested Solution: Add a new feature to the DAG engine that allows users to loop a step and do parallel processing within the DAG. You would specify the code to execute, how many parallel executions and how the input and output data should be handled. Like feeding line by line or using a FIFO buffer.

rrottmann avatar Jun 26 '23 11:06 rrottmann

Thank you for the interesting suggestion.

Maybe this could be related: #439

yohamta avatar Jun 26 '23 15:06 yohamta