[erlang-questions] Erlang, Yaws, and the deadly Tornado
Lev Walkin
vlm@REDACTED
Sat Sep 19 23:13:53 CEST 2009
Valentin Micic wrote:
> Do you think that HiPE may make any difference here?
I do not think so, since it uses extra-modular calls, such
as gen_tcp and lists. But let's try it anyway...
SMP-128-nohipe
7000 rps,7000,0,7000,0,7000,7000,7000,0,0,0
8000 rps,7982,0,8000,0,7998,7954,7994,0,0,0
9000 rps,8755,(533),9000,5,8785,8736,8744,5,6,5
10000 rps,8969,(1500),10000,15,9012,8953,8942,14,13,18
SMP-128-HIPE
7000 rps,6706,0,7000,0,6119,7000,7000,0,0,0
8000 rps,8001,0,8000,0,8002,8000,8002,0,0,0
9000 rps,8937,(33),9000,0,8923,8892,8998,0,1,0
10000 rps,9159,(1166),10000,11,9234,8661,9582,15,10,10
As you see, HIPE scales marginally better at 0.3% errors @ 9kRPS,
whereas nohipe has 5% errors @9kRPS.
Overall, this picture tells that it is not worth it. Those intra-modular
calls between HIPE and non-hipe code can kill the whole idea. Also, HIPE
assembled code has proven unstable under real workload in my project,
which is far more important factor.
> Yes, Yucan!
>
> V.
>
> -----Original Message-----
> From: erlang-questions@REDACTED [mailto:erlang-questions@REDACTED] On
> Behalf Of Lev Walkin
> Sent: 19 September 2009 07:30 PM
> To: Evans, Matthew
> Cc: Erlang Questions
> Subject: Re: [erlang-questions] Erlang, Yaws, and the deadly Tornado
>
> Evans, Matthew wrote:
>> Thanks for sharing.
>>
>> I can't see in your tests what version of Erlang you are using? If R12,
> would R13 be a better performer?
>
> R13B01
>
>> ________________________________________
>> From: erlang-questions@REDACTED [erlang-questions@REDACTED] On Behalf
> Of Lev Walkin [vlm@REDACTED]
>> Sent: Saturday, September 19, 2009 3:54 AM
>> To: Erlang Questions
>> Subject: [erlang-questions] Erlang, Yaws, and the deadly Tornado
>>
>> ======================
>> Since Facebook acquisition of FriendFeed, a bunch of technologies were
>> released to the wild, including, most notably, a Tornado web server
>> written in Python. The Tornado is touted as a <a scalable, non-blocking
>> web server and web framework>. See Wikipedia article
>> http://en.wikipedia.org/wiki/Tornado_HTTP_Server on some details on the
>> performance of that server, as well as some comparison with other web
>> servers.
>>
>> The numbers looked interesting, so I decided to benchmark Tornado myself
>> to check out how it fares against some Erlang tools.
>> ======================
>>
>> Since the data is highly graphical, I can only give the link to the rest
>> of the benchmark.
>>
>> http://lionet.livejournal.com/42016.html
>>
>>
>>
>> --
>> vlm
>>
>> ________________________________________________________________
>> erlang-questions mailing list. See http://www.erlang.org/faq.html
>> erlang-questions (at) erlang.org
>>
>>
>> ________________________________________________________________
>> erlang-questions mailing list. See http://www.erlang.org/faq.html
>> erlang-questions (at) erlang.org
>>
>>
>
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
More information about the erlang-questions
mailing list