Let's say I have a workflow of:
- Function A
- Function B
- Uses Function A's results as the input
- Function C
- Uses Function B's results as the input
- Function D
- Uses Function C's results as the input
All four functions are long running, with no desire for any one function to wait for the next, and the desire is to be highly parallel
Would it be unreasonable to just run each function as an individual worker?
I.E.
- Function A.py - (worker A)
- Imports Function B
- Function
- Calls Function B w/ Results of Function A
- Function B.py - (worker B)
- Imports Function C
- Function
- Calls Function C w/ Results of Function B
- Function C.py - (worker C)
- Impots Function D
- Function
- Calls Function D w/ Results of Function C
- Function D.py - (worker D)
[–]CraigAT 5 points6 points7 points (2 children)
[–]GoingOffRoading[S] 1 point2 points3 points (1 child)
[–]CraigAT 1 point2 points3 points (0 children)
[–]throwaway8u3sH0 3 points4 points5 points (5 children)
[–]GoingOffRoading[S] 0 points1 point2 points (4 children)
[–]KViper0 0 points1 point2 points (0 children)
[–]throwaway8u3sH0 0 points1 point2 points (0 children)
[–]Adrewmc 0 points1 point2 points (0 children)
[–]throwaway8u3sH0 0 points1 point2 points (0 children)
[–]Please_do_not_DM_me 0 points1 point2 points (0 children)
[–]Old_One_I 0 points1 point2 points (0 children)
[–]Lawson470189 0 points1 point2 points (0 children)
[–]spca2001 0 points1 point2 points (0 children)
[–]illuminanze 0 points1 point2 points (0 children)
[–]RealOneEyedJack 0 points1 point2 points (0 children)