Does dotted lines indicate parallel processing?
# ask-community
b
Does dotted lines indicate parallel processing?
e
Not really, it means that the parameters on the dotted line are being mapped over by the recieving task.
b
what does that mean?
I am a newbie
e
So
Constant[range]
is returning a range, in other words a list right?
b
yes
e
You are calling
dec.map(x=range_task)
instead of
dec(x=range_task)
if you had called the latter,
dec
would receive the entire list as a parameter.
b
yes
what does map in prefect do?
e
when you call it like
dec.map(x=range_task)
prefect iterates over the input list it receives from
range_task
, and runs a
dec
task for each element in the received list.
instead of running a single task and receiving the whole list as input.
b
so it's parallelization right?
e
If you run your tasks parallel, sure.
b
It's using dask executor
when you use dask worker you are using it parallelly right?
e
nice, dask should be running tasks in parallel.
b
do you use prefect in production? Is it possible just to use prefect core only in production?
e
yes, right now I am doing that, its lacking a lot of features that are offered in prefect cloud, but I am happy with what I got
b
you mean you are using only prefect core you mean?