Please take a look at https://www.run.ai/guides/distributed-computing/parallel-computing-with-python to find a simple solution.