Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use MC_process_read_string() in MC_smx_process_get_name() (DRY)
[simgrid.git] / examples / java / masterslave / README
1 This is a somehow basic master/slaves example.
2
3 There is 3 kind of processes:
4  * Master: creates some tasks, and dispatches them to its slaves
5  * Forwarder: get tasks from master, and dispatch them further
6  * Slave: get tasks from either master or forwarder, and run them
7  
8 At the end of the execution:
9  - the master sends FinalizeTask to every known slave to stop them
10  - On reception of FT, forwarders send FT to every slave, and stop.
11  - On reception of FinalizeTask, slaves stop.