Web Server Design Assignment #5 Extra Credit Old Dominion University Department of Computer Science CS 495/595 Spring 2012 Michael L. Nelson <mln@cs.odu.edu>
Performance As per lecture 1: 5 points for the first place finisher 4 points for the 2nd place finisher … 0 points for the last place finisher
Determining Order Best average of 10 runs each of a1 .. a5 % time a1.pl testing www.cs.odu.edu:80/~mln/teaching/cs595-s12/a1-test/ h = www.cs.odu.edu p = 80 r = /~mln/teaching/cs595-s12/a1-test/ test 1 looks good -- probably +1 score = 1 test 2 looks good -- probably +1 score = 2 … test 20 looks good -- probably +1 score = 15 0.038u 0.023s 0:00.71 7.0% 0+0k 0+0io 0pf+0w
Optional! You don't have to do the following. Points are out of 100 Points are assigned at my discretion
100 Continue 5 points: Implement “100 Continue” response code for PUT see sections 8.2.3, 10.1.1, 14.20 of RFC-2616 not implemented in Apache (as far as I can tell)
100 Continue PUT /~mln/cars/1966-Fairlane.txt Host: coolfords.org Date: Tue, 14 Apr 2009 04:34:00 GMT Content-Type: text/plain Content-Length: 193 Connection: close ______________ // \\ ---------//--------------\\------- | __ __ | |--/ \--------------------/ \---| \__/ \__/ HTTP 1.1 201 Created Server: FordServer ETag: “XYZ” PUT /~mln/cars/1966-Fairlane.txt Host: coolfords.org Date: Tue, 14 Apr 2009 04:34:00 GMT Content-Type: text/plain Content-Length: 193 Connection: close Expect: 100-Continue HTTP 1.1 100 Continue ______________ // \\ ---------//--------------\\------- | __ __ | |--/ \--------------------/ \---| \__/ \__/ HTTP 1.1 201 Created Server: FordServer ETag: “XYZ” Possible response codes: 200, 201, 401, 403, 405, 411, 413, 414, 417 Applicable to any method in which the client sends an entity body to the server (i.e., POST, PUT) Ignore the header if not applicable to the method.
Simhash ETag Up to 10 points for constructing an entire test suite regarding using simhash for ETags See: http://matpalm.com/resemblance/simhash/ http://simhash.googlecode.com/svn/trunk/paper/SimHashWithBib.pdf http://manpages.ubuntu.com/manpages/natty/man1/simhash.1.html