https://flyte.org logo
#announcements
Title
# announcements
a

Alex Pozimenko

08/05/2022, 5:30 PM
hi team, the documentation states that subworkflows execute within context of the parent workflows (here). What are the implications of that?
k

Ketan (kumare3)

08/05/2022, 5:45 PM
they will run on the same propeller, they have the same settings like project/domain/service_accounts and other settings like interruptible
a

Alex Pozimenko

08/05/2022, 5:56 PM
the doc also says they'll have same parallelism, but isn't parallelism configured at task level?
k

Ketan (kumare3)

08/05/2022, 6:01 PM
no parallelism (node parallelism) is at the workflow level
a

Alex Pozimenko

08/05/2022, 7:01 PM
are you referring to max_parallelism arg of LaunchPlan?
k

Ketan (kumare3)

08/05/2022, 7:14 PM
yes
a

Alex Pozimenko

08/05/2022, 7:26 PM
Copy code
max_parallelism (Optional[int]) – Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this.
do I read this right that it doesn't apply to maptasks? What about spark?
k

Ketan (kumare3)

08/05/2022, 8:01 PM
yes
it applies to spark “task” not to spark executors
a

Alex Pozimenko

08/05/2022, 8:40 PM
got it, thanks
13 Views