I am working on Distributed cluster computing. To implement such system I am trying to use python libs that is dask.distriuted. But there has a problem that is the dworkers are not for multiprocess, means 2 or 3 dworkers, works together but don't support multiple executions that support in multiprocessing lib.
for an example:
def testFun():
while True:
time.sleep(3)
print('looping')
If I executes this function in the client.submit(testFun).It will execute this function for infinite times then it will never come to the next steps. Like for this program:
client.submit(testFun)
client.submit(testFun)
Here until execute the first line it will never come to the next line. I want to make that dworker for multiprocessing. How will I do this ?