Simple master-workers example #100
Unanswered
dineshbvadhia
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I'm not sure if I fully understand your question, but it seems you can do this with:
In this example
Does this answer your question? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to understand how to transfer and execute modules on keep-alive workers. Below is a simple example:
Assume 4 cores and keep-alive workers.
Transfer the loggy.py and adder.py modules to each keep-alive worker.
From the master, call the function do_log(a=x) on each worker.
Collect the results from the workers at the master.
How do you solve this with Mpire? Thanks
Beta Was this translation helpful? Give feedback.
All reactions