-
Dejan
similarly to what chain does but I really do not need to pass the result to the next one
-
alekibango
Dejan: i do not know, i use celer from times group was not there
-
so i just use tasks :)
-
group imho is not ordering tasks. just returns all results at once
-
really, give up ordering, if possible
-
Dejan
that is why i am asking if there is a way to execute tasks in a group or something sequentially
-
the only way to have something similar is with chain...
-
alekibango
i do call tasks from tasks -> but i do not wait for results there
-
Dejan
OK, let me explain what exactly I am doing...
-
I have a very restricted FTP server that only allows two connections in parallel
-
and I need to download 12 huge files from there
-
I can't run download all at once
-
clokep joined the channel
-
So, I can run only two downloads in parallel
-
and i need to wait for one to finish in order to do the next one
-
alekibango
i hope you do that many times around, or else i would say wget is better idea :)
-
xtreak joined the channel
-
Dejan
this download is a part of a large system that later parses the files, produces HDF5 files, parquet files, as well as some CSV files...
-
and it is fairly frequent
-
alekibango
i see now
-
diefenba_ has quit
-
Dejan
frankly, this crap about not calling .get() is just wrong
-
alekibango
dejan: or you can download those files in one task only?
-
Dejan
that takes too long
-
that is how it was before :)
-
alekibango
Dejan: if you will have 10 workers, and all 10 will get a task, where they will .get() -- they all will block...
-
and no work will be done
-
Dejan
or at least provide us with a simple pipeline that is executed sequentially
-
alekibango
hmm i never used it like this.
-
Dejan
it is not 10 workers that do this
-
it is a single task
-
that calls get
-
that task is executed in a single worker...
-
nevermind :) thanks for trying to help
-
i appreaciate it
-
alekibango
single tasks -- but you can get more of them in the queue
-
Dejan
nope
-
alekibango
-
Dejan
they never overlap
-
alekibango
Dejan: how do you know? i was like you, until all my workers stopped
-
and i was frantically running around, trying to figure out what happened
-
Dejan
i know because I know how i schedule them man...
-
let's just stop it here please...
-
alekibango
:)
-
Dejan: best way is imho this
-
make a task which will take list of files to download.
-
downloads first one and runs antoher task with shorter list...
-
but make SURE the task will not just fail
-
(and not continue the work)
-
do not WAIT for result
-
would that work for you?
-
Dejan: late ack could also help. but make sure you will not run tasks 5 times...
-
or use chain...
-
but i would rather use just tasks
-
if you want to download 2 concurrently, when you are starting the download, run 2 tasks, giving each one half of the list
-
xtreak has quit
-
darkelda joined the channel
-
darkelda joined the channel
-
Vathau has quit
-
malinoff has quit
-
diefenbach joined the channel
-
xtreak joined the channel
-
clokep joined the channel
-
xtreak has quit
-
italorossi joined the channel
-
bomb-on joined the channel
-
tonytan4ever joined the channel
-
__Yiota joined the channel
-
__Yiota joined the channel
-
bomb-on has quit
-
clokep joined the channel
-
darkelda joined the channel
-
domino14_ has quit
-
domino14_ joined the channel
-
DLSteve joined the channel
-
Dejan
Pfffff... Can I give a group a callback to be called when all tasks in the group are finished?
-
(either successfully or not)
-
maryokhin joined the channel
-
maryokhin has quit
-
chronos has quit
-
chronos joined the channel
-
MessedUpHare joined the channel
-
bytespirit has quit
-
MessedUpHare has quit
-
MessedUpHare joined the channel
-
lavalamp joined the channel
-
lllama
Dejan: does immutable=True help?
-
-
(just skimming scrollback but immutable=True will stop results being passed down a chain)
-
__Yiota joined the channel
-
__Yiota joined the channel
-
mihaj joined the channel
-
italorossi has quit
-
domino14_ has quit
-
domino14_ joined the channel
-
domino14_ has quit
-
dgandhi has quit
-
Dejan
lllama, i haven't tried this to be honest
-
i will
-
thanks
-
domino14_ joined the channel
-
domino14_ has quit
-
darkelda joined the channel
-
darkelda joined the channel
-
diefenbach has quit
-
malinoff joined the channel
-
italorossi joined the channel
-
__Yiota joined the channel
-
Debnet has quit
-
MessedUpHare has quit
-
italorossi has quit
-
italorossi joined the channel
-
Jason_ joined the channel
-
malinoff has quit
-
mikeliss joined the channel
-
malinoff joined the channel
-
malinoff has quit
-
malinoff joined the channel
-
malinoff has quit
-
diefenbach joined the channel
-
Dejan has quit
-
eN_Satwik_Kolhe_ has quit
-
italorossi has quit
-
italorossi joined the channel
-
italorossi has quit
-
italorossi joined the channel
-
italorossi has quit
-
italorossi joined the channel
-
mihaj has quit
-
__Yiota joined the channel
-
__Yiota joined the channel
-
mihaj joined the channel
-
tonytan4ever has quit
-
tonytan4ever joined the channel
-
vobiscum joined the channel
-
TankBo has quit
-
tonytan4ever has quit
-
vobiscum has quit
-
TheDeathly_ is now known as TheDeathly
-
clokep joined the channel
-
italorossi has quit
-
__Yiota joined the channel
-
__Yiota joined the channel
-
mihaj has quit
-
vobiscum joined the channel
-
diefenbach has quit
-
DLSteve has quit
-
italorossi joined the channel
-
italorossi has quit
-
italorossi joined the channel