Differences between revisions 11 and 12
Revision 11 as of 2008-06-16 02:23:49
Size: 993
Editor: CarlNobile
Comment:
Revision 12 as of 2008-06-16 18:58:21
Size: 802
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
The following two files explain the tests done on the AsyncoreHTTPServer module after it was embedded into a server that is used in a production environment. I will not post the full source code for that server here as it has a very specific use and would be of no use to anybody. However, the two files below could be useful if someone wants to write test scrips for a server using AsyncoreHTTPServer. The following file can be used to run tests on the AsyncoreHTTPServer module.

[[attachment:testACHTTPServer.py|testACHTTPServer]]

The current results of these tests are listed below:

|| Keep Alive || Time (sec) || Requests ||
|| True || 0.279 || 165 ||

Line 10: Line 19:

[[attachment:testACHTTPServer.py|testACHTTPServer]]

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

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

testACHTTPServer

The current results of these tests are listed below:

Keep Alive

Time (sec)

Requests

True

0.279

165

README

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