I haven't done any serious testing or benchmarking, but I'm guessing that each servers has its own advantages depending of use cases.<br>With a slow network, Yaws can be a good solution as it should be able to handle a lot of concurrent connections even if its efficiency for each request is a bit less. Am I wrong?
<br><br><div><span class="gmail_quote">On 6/21/07, <b class="gmail_sendername">Tom Samplonius</b> <<a href="mailto:tom@samplonius.org">tom@samplonius.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>----- "Bob Ippolito" <<a href="mailto:bob@redivi.com">bob@redivi.com</a>> wrote:<br>> On 6/18/07, Serge Aleynikov <<a href="mailto:saleyn@gmail.com">saleyn@gmail.com</a>> wrote:<br>> > This looks like the same approach to concurrency as what's been used
<br>> in<br>> > Erlang: <a href="http://legacy.imatix.com/html/smt">http://legacy.imatix.com/html/smt</a>. They use it in their<br>> open<br>> > source high-performance messaging server: <a href="http://www.openamq.org">
http://www.openamq.org</a>.<br>> ><br>> > While there's been a comparison between Yaws and Apache, it would<br>> be<br>> > interesting to see one against <a href="http://www.xitami.com">http://www.xitami.com
</a> as it would<br>> seem<br>> > like it could actually outperform Yaws.<br>><br>> I also expect nginx and lighttpd to be faster than yaws. In my<br>> informal benchmarks nginx is about twice as fast as an erlang-based
<br>> httpd that I wrote... and I'm pretty sure my http server is faster<br>> than yaws because it does less work.<br>><br>> -bob<br><br><br> I don't think is surprising that nginx and lighttpd are faster than Yaws. erlang is not really a language to just push bits from disk to network. It doesn't seem optimized for it either, either the runtime or the language. erlang doesn't have a lot of low-level IO primitives to really push bits fast. And it probably won't, since erlang is more portable than nginx and lighttpd.
<br><br><br>Tom<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">
http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>