Genstage workers with multiple machines

I have implemented a GenServer application with workers. But now I want to distribute work on two machines. How do I create a worker on different machine too?
How do I create a worker on different machine after running mix run command? Or is there a way to implement in code itself? I haven’t used elixir for multiple machines, so have very little knowledge of it.

1 Like