Differences between revisions 17 and 18
Revision 17 as of 2008-06-16 19:39:04
Size: 1223
Editor: CarlNobile
Comment:
Revision 18 as of 2008-06-16 19:43:41
Size: 1273
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
== Testing ==
Line 10: Line 12:

Line 23: Line 27:
The following README files explains the test condition. (Note: It's very out of date) == Documentation ==

The following README files explains the test condition. '''(Note: It's very out of date)'''

AsyncoreHTTPServer

This is a small side project I actually did for work. I wrapped asyncore to be an server and request handler. It can be used in much the same way as SimpleHTTPServer though the API is a bit different. It is still a work in progress, but is running, in its current form, in a production environment. It is for the most part HTTP/1.1 compliant and can be used as a RESTful server.

AsyncoreHTTPServer

Testing

The following file can be used to run tests on the AsyncoreHTTPServer module.

testACHTTPServer

The test results below were done using HEAD requests on an arbitrary, but consistent URI.

Keep Alive

Time (sec)

Requests

Requests per/sec

True

0.301

165

548

False

0.161

45

280

The test results below were done using GET requests retuning 1032 bytes on the same URI as above.

Keep Alive

Time (sec)

Requests

requests per/sec

True

0.354

165

466

False

0.177

45

254

Documentation

The following README files explains the test condition. (Note: It's very out of date)

README

AsyncoreHTTPServer (last edited 2010-10-13 19:41:53 by CarlNobile)