The -t 70 option for mongrel is a timeout option, but is it
milli-seconds, micro-seconds?
The -t option ‘http://mongrel.rubyforge.org/docs/howto.html’ means
the server is pausing between accepting clients. So whie the server is
paused, does Lighttpd know about it and does it then send the request to
next node in cluster?
In my command line there is no -n option so the default 1024
concurrent processing threads will be active. My question is, if I lower
the value to say 100, does it mean Lighttpd switches between each node
at a higher rate (assuming very heavy loads)??
proxy.balance=“hash” means same request URI is sent to always the
same host. But in a typical load testing environment, where the load is
simulate from one machine, all requests will have the same requestURI.
This means that all requets in a load test will end up going to one
Mongrel node. Naturally this is not load balancing. Can someone please
tell me how I can properly distribute load without resorting to
proxy.balance=“fair” option.
at a higher rate (assuming very heavy loads)??
Thanks in advance
-daya
Hey Daya-
THe proxy module in lighttpd 1.4.11 is not production worhty. It has
a flaw where if a backend goes down and then gets restarted, lighty
will not re-enable it without a full restart. So I reccomend that
until lighty 1.5 is out that you do not use lighttpd as the front
proxy for your mongrel cluster. Apache2.2/mod_proxy_balancer is a
popular choice. As well as Pound for proxy/load balancing. But I have
a new favorite that is working very well. Much better then any of
these other options. I just wrote an article about it you can see here:
at a higher rate (assuming very heavy loads)??
Thanks in advance
-daya
Hey Daya-
THe proxy module in lighttpd 1.4.11 is not production worhty. It has
a flaw where if a backend goes down and then gets restarted, lighty
will not re-enable it without a full restart. So I reccomend that
until lighty 1.5 is out that you do not use lighttpd as the front
proxy for your mongrel cluster. Apache2.2/mod_proxy_balancer is a
popular choice. As well as Pound for proxy/load balancing. But I have
a new favorite that is working very well. Much better then any of
these other options. I just wrote an article about it you can see here: