Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 933 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 933 Bytes

TP-NBA-statistics

NBA statistics (Sistemas Distribuidos I - FIUBA)

Ejecutar

  • Dependencias: ZeroMQ (en particular el binding para Python)

Cliente

 $./run-client.py

	Se generará un directorio "stats"
	 con las estadísticas

En otra terminal se ejecuta el servidor:

Servidor

 $./run-server.py [--mworkers=NUM(1)     |
		   --mreducers=NUM(2)    | 
		   --topkworkers=NUM(1)  |
		   --topkreducers=NUM(2) |
		   --ltworkers=NUM(2)    |
		   --lpworkers=NUM(2)    |
		   --iworkers=NUM(2)]

	Argumentos:
	  - mworkers: Match Summary workers
	  - mreducers: Match Summary reducers
	  - topkworkers: Top K workers
	  - topkreducers: Top K reducers
	  - ltworkers: Local Team workers
	  - lpworkers: Local Points workers
	  - iworkers: Input workers

Para terminar los nodos, ejecutar:

 $./kill-server.py