Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Are there any comparisons between nginx and Erlang web servers. I found this http://www.joeandmotorboat.com/2009/01/03/nginx-vs-yaws-vs-mochiweb-web-server-performance-deathmatch-part-2/ but the tests are very inconsistent.

share|improve this question

migrated from stackoverflow.com Dec 13 '09 at 0:54

This question came from our site for professional and enthusiast programmers.

4  
what are you wanting to compare exactly? They will differ based on the what you are looking to compare. One might serve requests faster. Another might be able to hold more open connections at once. Its hard to a general comparison of web browsers these days because the criteria people evaluate by is so varied. –  Jeremy Wall Dec 12 '09 at 16:30
    
Jeremy, while you're generally right, I want to point out that he wanted comparison of servers, not browsers ;-) –  Michael Krelin - hacker Dec 12 '09 at 19:03
1  
Why do you want to compare them? Nginx will obviously win since it's highly optimized C++ (I think?) code, whereas Erlang is a general purpose language designed to make writing new network servers easy, spinning off async tasks easy, job dispersing easy, and failure coping easy. If you need to make your own web server with special needs, like mochiweb, for example, then Erlang's your man. If you need precisely what Nginx gives you, well, it's going to perform significantly better. –  John Galt Dec 12 '09 at 19:41
    
John, do you have any benchmarks of that or are you just guessing? –  Adam Lindberg Dec 16 '09 at 14:11
1  
I would argue the exact opposite, that YAWS has proven to out perform just about every C/C++ web server in highly loaded systems. –  Jarrod Roberson Nov 13 '10 at 23:15

1 Answer 1

Erlang has many web server implementations, it is a Language + Runtime/Virtual Machine. Nginx is a webserver. There is no comparison to be made. If you want to compare the Erlang web server implementations then research them and test them. There are at lots of them to choose from.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.