[erlang-questions] light-weight concurrency in C
Thu Jun 21 01:58:44 CEST 2007
----- "Bob Ippolito" <> wrote:
> On 6/18/07, Serge Aleynikov <> wrote:
> > This looks like the same approach to concurrency as what's been used
> > Erlang: http://legacy.imatix.com/html/smt. They use it in their
> > source high-performance messaging server: http://www.openamq.org.
> > While there's been a comparison between Yaws and Apache, it would
> > interesting to see one against http://www.xitami.com as it would
> > like it could actually outperform Yaws.
> I also expect nginx and lighttpd to be faster than yaws. In my
> informal benchmarks nginx is about twice as fast as an erlang-based
> httpd that I wrote... and I'm pretty sure my http server is faster
> than yaws because it does less work.
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.
More information about the erlang-questions