From cee96145162407403379a22312a7eb8ae8078e7e Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 18 Nov 2020 08:16:05 -0600 Subject: get rid of testing repo --- P3/testing/how_to_test | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 P3/testing/how_to_test (limited to 'P3/testing/how_to_test') diff --git a/P3/testing/how_to_test b/P3/testing/how_to_test deleted file mode 100644 index edc1ec9..0000000 --- a/P3/testing/how_to_test +++ /dev/null @@ -1,35 +0,0 @@ -RUNNING THE WEB SERVER -============================================================ -Extract "testing.zip" and use it as your webserver root -directory. Run your webserver using the following command - -./web_server /testing - -**** Pick a random number other than 9000 from (1024 to 65536) to avoid collisions with other groups **** -For example, to run the web server at port 9000, with root directory "/home/student/joe/testing" with 100 dispatch and worker threads, -queue length 100 run the following command - -When you didn't implement dynamic worker thread pool nor caching -./web_server 9000 /home/student/joe/testing 100 100 0 100 0 - -When you implemented dynamic worker thread pool, but didn't implement caching -./web_server 9000 /home/student/joe/testing 100 100 1 100 0 - -When you didn't implement dynamic worker thread pool, but implemented caching -./web_server 9000 /home/student/joe/testing 100 100 0 100 100 - -When you implemented both dynamic worker thread pool and caching -./web_server 9000 /home/student/joe/testing 100 100 1 100 100 - -You should now (using another terminal) be able to query a single file, such as the following: - -wget http://127.0.0.1:9000/image/jpg/29.jpg - -If you have a file containing all the URLs you want, you can open a terminal and issue the following command, - -wget -i /urls - -The above command will ask wget to fetch all the URLs listed on the file named "urls". - -To run the xargs test: (Refer project description for more details) -cat | xargs -n 1 -P 8 wget -- cgit v1.2.3