Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2008-04-30 01:33:03
Size: 454
Editor: CarlNobile
Comment:
Revision 15 as of 2008-06-16 19:25:09
Size: 986
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
This is a small side project I actually did for work. I wrapped {{{asyncode}}} in an HTTP server and request handler. It can be used in much the same way as the {{{SimpleHTTPServer}}} though the API is different. It is still a work in progress, but is running in its current form in a production environment. It is HTTP/1.1 compliant and can be used as a RESTful server. 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.
Line 5: Line 5:
'''''I will post the code in the next few days.''''' [[attachment:AsyncoreHTTPServer.py|AsyncoreHTTPServer]]

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

[[attachment:testACHTTPServer.py|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 following README files explains the test condition. (Note: It's very out of date)

[[attachment:README.AsyncoreHTTPServer.txt|README]]

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 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 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)