#Is there way to parallelize functions chainining?

1 messages · Page 1 of 1 (latest)

cyan dagger
#

I am looking for a way to parallelize functions in chanining, for eg: a sequence of functions chain executes sequentails but part of that function also chains from other functions should exeuctes parallel?
is there a way we can do this via dagger cli?

mint mantle
#

It depends on what language SDK you're using - it's specific for each one, you can use whatever primitives you want in each language

#

For example, in go, you'd use errgroup

cyan dagger
#

yeah i can use go, but thought that there might be new feature that can support from dagger cli itself, but i am good if its not yet

#

one more query: chaining feature can be invoked from dagger cli, is it recommended for production usecase where there are long function chains and we have to write even long dagger cli cmd or we could also have orchestrator module calling other function from different modules, just wanted to understand what is recommded ?

mint mantle
#

currently in our own ci, we use the orchestration approach