Differences between revisions 1 and 14 (spanning 13 versions)
Revision 1 as of 2008-04-30 01:33:03
Size: 454
Editor: CarlNobile
Comment:
Revision 14 as of 2008-06-16 19:16:14
Size: 949
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 current results of these tests are listed below:

|| 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 current results of these tests are listed below:

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)