Basic speed comparison between the two suggests that gevent may indeed be noticeably faster. (I wouldn't jump to too many conclusions - this is totally unscientific and being run on a relatively low powered laptop - Win8, 1.7GHz AMD E2, 8GB RAM.)
*Summary* 500 requests @ concurrency of 20 Rocket: 7.38 requests/second (67.7sec total) Gevent: 10.92 requests/second (45.8 sec total) Additional observations - Rocket consumed between 34-40MB RAM while Gevent used just 23-24MB (Private Memory). Rocket was using 15 threads while Gevent had only 4 according to the Resource Monitor. *With standard Rocket version* C:\Users\Brian\Downloads\python\httpd-2.4.6-win64-VC11\Apache24\bin>ab.exe -n 500 -c 20 http://127.0.0.1:8000/welcome/default/index This is ApacheBench, Version 2.3 <$Revision: 1430300 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Finished 500 requests Server Software: Rocket Server Hostname: 127.0.0.1 Server Port: 8000 Document Path: /welcome/default/index Document Length: 14093 bytes Concurrency Level: 20 Time taken for tests: 67.736 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 7256500 bytes HTML transferred: 7046500 bytes Requests per second: 7.38 [#/sec] (mean) Time per request: 2709.424 [ms] (mean) Time per request: 135.471 [ms] (mean, across all concurrent requests) Transfer rate: 104.62 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 3 31.2 1 495 Processing: 1002 2656 297.5 2686 3114 Waiting: 998 2654 297.5 2684 3113 Total: 1003 2659 290.9 2686 3114 Percentage of the requests served within a certain time (ms) 50% 2686 66% 2753 75% 2792 80% 2816 90% 2909 95% 2959 98% 3002 99% 3043 100% 3114 (longest request) *With Gevent version *(Not sure why ab's output doesn't give anything for Server Software) * * C:\Users\Brian\Downloads\python\httpd-2.4.6-win64-VC11\Apache24\bin>ab.exe -n 500 -c 20 http://127.0.0.1:8000/welcome/default/index This is ApacheBench, Version 2.3 <$Revision: 1430300 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Finished 500 requests Server Software: Server Hostname: 127.0.0.1 Server Port: 8000 Document Path: /welcome/default/index Document Length: 14093 bytes Concurrency Level: 20 Time taken for tests: 45.806 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 7239000 bytes HTML transferred: 7046500 bytes Requests per second: 10.92 [#/sec] (mean) Time per request: 1832.232 [ms] (mean) Time per request: 91.612 [ms] (mean, across all concurrent requests) Transfer rate: 154.33 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 0.5 1 2 Processing: 405 1796 158.9 1813 2142 Waiting: 405 1795 158.9 1812 2142 Total: 406 1796 158.9 1813 2142 Percentage of the requests served within a certain time (ms) 50% 1813 66% 1839 75% 1854 80% 1863 90% 1886 95% 1901 98% 1917 99% 1921 100% 2142 (longest request) On Friday, October 18, 2013 9:40:33 PM UTC-5, Brian M wrote: > > OK, since nobody else seems to be trying and I do use the windows binaries > for a work app I gave this a try and didn't seem to have any trouble > building the default binary and one with gevent. Niphlod I'll send you an > email off-list to see if I did it right. > > ~Brian > > On Thursday, October 17, 2013 5:15:15 PM UTC-5, Niphlod wrote: >> >> bump. Contest will close in 1 week, 25 Oct 2013. >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

