Take the 2-minute tour ×
Server Fault is a question and answer site for 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

migration rejected from stackoverflow.com Mar 27 at 3:08

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as too broad by masegaloeh, kasperd, mdpc, Xavier Lucas, fukawi2 Mar 27 at 3:08

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs. If this question can be reworded to fit the rules in the help center, please edit the question.

5  
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

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