/http-server

HTTP server

Primary LanguagePythonMIT LicenseMIT

TP-HTTP-server

HTTP server concurrente (Sistemas Distribuidos I - FIUBA)

Ejecutar

$ python3 server/main.py [--workers=NUM(1) |
			  --ip=IP('localhost') |
			  --port=PORT(8888) |
			  --cache=SIZE(100)
			  --urlfs=URL('localhost') |
			  --connections=MAX_CONN(100)]

En otra terminal ejecutar:

$ python3 fs/main.py [--fsworkers=NUM(1) |
		      --ip=IP('localhost') |
		      --port=PORT(9999) | 
		      --fscache=SIZE(100) |
		      --connections=MAX_CONN(100)]

Docker

$ ./run.sh --fs=FSs --workers=NUM --fsworkers=NUM --cache=SIZE --fscache=SIZE [--urlfs=URL('http_fs_')]

	FSs: Cantidad de containers para el File System
	URL: El nombre o url donde se encuentra el FS

Tests

$ python3 load_data_test.py [--requests=NUM(1) | --testers=NUM(1)]

$ python3 warm_up_test.py [--requests=NUM(1)]