magistraleinformaticanetworking:spm:farmposix
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedente | |||
magistraleinformaticanetworking:spm:farmposix [22/03/2011 alle 17:54 (14 anni fa)] – Marco Danelutto | magistraleinformaticanetworking:spm:farmposix [22/03/2011 alle 18:02 (14 anni fa)] (versione attuale) – [Task farm (POSIX TCP/IP)] Marco Danelutto | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
===== Task farm (POSIX TCP/IP) ===== | ===== Task farm (POSIX TCP/IP) ===== | ||
+ | //(The code presented here does not pretend to be efficient, nor completely correct. It has been designed with the aim of illustrating several of the problems related to the implementation of fairly simple parallel applications)// | ||
==== Version 1 ==== | ==== Version 1 ==== | ||
This version uses two servers (emitter and collector). Emitter accepts requests from workers and delivers tasks to be executed. Collector accepts results from workers and print them out on the screen. Workers open a separate connection with both emitter and collector for each task. The two connections are closed after processing the task and delivering the result. Tasks and results are (positive) integers. Emitter and worker termination is handled correctly. Collector does not terminate (suggestion: | This version uses two servers (emitter and collector). Emitter accepts requests from workers and delivers tasks to be executed. Collector accepts results from workers and print them out on the screen. Workers open a separate connection with both emitter and collector for each task. The two connections are closed after processing the task and delivering the result. Tasks and results are (positive) integers. Emitter and worker termination is handled correctly. Collector does not terminate (suggestion: |
magistraleinformaticanetworking/spm/farmposix.1300816445.txt.gz · Ultima modifica: 22/03/2011 alle 17:54 (14 anni fa) da Marco Danelutto