[BangPypers] Friendfeed's web server framework open sourced

Dhananjay Nene dhananjay.nene at gmail.com
Mon Sep 14 15:20:51 CEST 2009


One more study with slightly different results hyperlinked below inline

On Mon, Sep 14, 2009 at 6:43 PM, Dhananjay Nene <dhananjay.nene at gmail.com>wrote:

>
> http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/
>
>
> On Mon, Sep 14, 2009 at 6:27 PM, Anand Balachandran Pillai <
> abpillai at gmail.com> wrote:
>
>>
>>
>> On Fri, Sep 11, 2009 at 10:32 PM, Anand Chitipothu <anandology at gmail.com>wrote:
>>
>>> 2009/9/11 Dhananjay Nene <dhananjay.nene at gmail.com>:
>>> > I am curious about the objective .. to the best of my knowledge wsgi is
>>> > essentially blocking (unless my understanding is incorrect), whereas
>>> tornado
>>> > is primarily non-blocking. So would you see any specific advantages of
>>> > deploying a wsgi app with tornado ?
>>>
>>> yes. quite a lot. In a multi-threaded server, as your concurrency
>>> increases thread context-switching overhead will become very high.
>>> Since Tornado uses epoll + callbacks it can handle thousands of
>>> requests.
>>>
>>> Performance Results for helloworld:
>>>
>>> tornado: 1414 req/sec
>>> tornado + web.py: 802 req/sec
>>> lighttpd + fastcgi + web.py: 354 req/sec
>>>
>>
>>  Amazing... I wonder how this compares with twisted/nevow...
>>
>
http://antoniocangiano.com/2009/09/13/benchmarking-tornado-vs-twisted-web-vs-tornado-on-twisted/

>
>>
>>
>>>
>>> Tests were run using: ab -n 1000 -c 25 'http://0.0.0.0:8080/'
>>>
>>> Anand
>>> _______________________________________________
>>> BangPypers mailing list
>>> BangPypers at python.org
>>> http://mail.python.org/mailman/listinfo/bangpypers
>>>
>>
>>
>>
>> --
>> --Anand
>>
>>
>>
>>
>> _______________________________________________
>> BangPypers mailing list
>> BangPypers at python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>>
>
>
> --
> --------------------------------------------------------
> blog: http://blog.dhananjaynene.com
> twitter: http://twitter.com/dnene http://twitter.com/_pythonic
>



-- 
--------------------------------------------------------
blog: http://blog.dhananjaynene.com
twitter: http://twitter.com/dnene http://twitter.com/_pythonic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090914/bce98b12/attachment.htm>


More information about the BangPypers mailing list