A friend of mine Garrett Smith from Chipy run the following tests on his machine (not sure what it is):
RPS = requests per second Time = average time in milliseconds to server each request Benchmark = `ab -t 10 -c <number of concurrent requests>-r http://localhost` 100 Concurrent Requests ----------------------- =============== App Server RPS ============== Fapws 7174 Landshark 4479 PHP-5 4191 modwsgi 3651 Tomcat 6 3554 Tornado 2641 web2py(*) 2372 CherryPy WSGI 2102 Phusion 1873 Jetty 6 937 Django WSGI 785 WEBrick 43 =============== 1,000 Concurrent Requests ------------------------- =============== App Server RPS =============== Fapws 5359 Landshark 4477 modwsgi 3449 PHP 5 3062 Tomcat 6 3014 Tornado 2452 web2py(*) 2415 CherryPy WSGI 2126 Phusion 1585 Jetty 6 1095 Django WSGI 953 WEBrick 50 =============== 10,000 Concurrent Requests -------------------------- =============== App Server RPS =============== Fapws 5213 Landshark 4239 Tomcat 6 2369 Tornado 2265 PHP 5 2239 web2py(*) 2225 modwsgi 2115 CherryPy WSGI 1731 Phusion 1247 Jetty 6 794 Django WSGI 890 WEBrick 84 =============== 20,000 Concurrent Requests -------------------------- =============== App Server RPS =============== Fapws 4788 Landshark 2936 Tornado 2153 web2py(*) 2130 PHP 5 1728 modwsgi 1374 Tomcat 6 1362 CherryPy WSGI 1294 Phusion 961 Django WSGI 790 Jetty 6 616 WEBrick 63 =============== On Sep 18, 11:23 am, mdipierro <[email protected]> wrote: > sorry, I tried to make it api compatible with cherrypy and broke the > hello world example. You can find the latest here: > > http://web2py.com/examples/static/web2pyserver.py > > Massimo > > On Sep 18, 11:20 am, Alex Fanjul <[email protected]> wrote: > > > Massimo I tried to run standalone and I recived this: > > > E:\web2py\gluon>python web2pyserver.py 8001 > > Traceback (most recent call last): > > File "web2pyserver.py", line 260, in <module> > > > s=web2pyWSGIServer('127.0.0.1:'+sys.argv[1],test_wsgi_app,min_threads=5,max_ > > threads=10) > > TypeError: __init__() got an unexpected keyword argument 'min_threads' > > > Integrated with web2py it works (not with all apps) but doesnt me allow > > to enter in admin section (typical: Admin is disabled because insecure > > channel) even if I was in localhost. > > > Any clues with this 2 issues? > > Alex F > > > El 18/09/2009 5:50, Massimo Di Pierro escribió: > > > > Please ignore my previous email. I fixed it and it seems to works > > > great (attached) > > > > It is very much modeled on wsgiserver. > > > It fits in 262 lines of code, uses regex and it is a little bit faster > > > than wsgiserver but, > > > it does not perform all checks that wsgiserver performs (do we need > > > them?). > > > I am still trying to figure out if I am missing something important. > > > > Massimo > > > -- > > Alejandro Fanjul Fdez. > > [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

