Skip to content

PatricioIribarneCatella/nba-statistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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