-- I've never considered this to be any more than a toy, I can't back
that up but I'm not aware of any reasons no choose it over the rest.
Please prove me wrong.
-- Great static file support, Apache style configuration. Yaws
performs well in tests with many simultaneous users.
-- Very small http 1.1 server, so it's very easy to mod and learn.
This is my preferred server for development. If you look at the source
code for static file handling, you'll have all the reason you need not
to use this in a production setup (see next step).
NGINX (or lighttpd, perhaps apache with event MPM)
-- Use a high performance server to handle all static files, then
proxy requests to your nitrogen app. Now since Nitrogen is not CGI,
FCGI etc, you have to talk HTTP, so I generally proxy to a nitrogen
app running a mochiweb server. (once I used a custom-made server,
lighter that mochiweb, but it was specific).
So I use mochiweb -- development
NGINX/mochiweb -- production.
I need to run more tests in YAWS to see if it can replace NGINX for
me, the all-Erlang solution would be beneficial in that the framework
may be called directly, not tunneled over HTTP proxy requests.
On 22-Jun-09, at 8:31 AM, vim wrote: