Distributed master-worker architecture simulation design in Java
<p>I need to simulate a system in Java where there is a master and a number of workers. Each worker may process its data locally but needs to communicate the master to read data from other nodes. And workers should work concurrently.</p>

<p>How can I simulate this system? Do I need to start a new thread for every running worker and a master thread? Is there another way?</p>
