Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-12 Thread Les Mikesell
Sergej Kandyla wrote: >>> >>> In the preforking mode apache create a child on each incoming request, >>> so it's too much expensive for resource usage. >>> >> Have you actually measured this? Preforking apache doesn't fork per >> request, it forks enough instances to accept the concurrent

Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-12 Thread Sergej Kandyla
Les Mikesell пишет: > Sergej Kandyla wrote: > >> nginx http_proxy module is universal complex solution. Also apache >> working in prefork mode (in general cases), I don't know does >> mod_jk\mod_proxy_ajp works in the worker-MPM mode... >> >> In the preforking mode apache create a child on eac

Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread nate
Les Mikesell wrote: > It may be, but I'd like to see some real-world measurements. Most of > the discussions about more efficient approaches seem to use straw-man > arguments that aren't realistic about the way apache works or timings of > a few static pages under ideal conditions that don't mat

Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread Les Mikesell
Sergej Kandyla wrote: > > nginx http_proxy module is universal complex solution. Also apache > working in prefork mode (in general cases), I don't know does > mod_jk\mod_proxy_ajp works in the worker-MPM mode... > > In the preforking mode apache create a child on each incoming request, > so it

Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread Sergej Kandyla
Les Mikesell пишет: > Sergej Kandyla wrote: > >> >> No, nginx could serve any kind of content via ngx_http_proxy_module >> module http://wiki.codemongers.com/NginxHttpProxyModule >> For example I'm using nginx as reverse proxy for tomcat >> servers\applications. >> > > Is there some a

Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread Les Mikesell
Sergej Kandyla wrote: > > No, nginx could serve any kind of content via ngx_http_proxy_module > module http://wiki.codemongers.com/NginxHttpProxyModule > For example I'm using nginx as reverse proxy for tomcat > servers\applications. Is there some advantage to this over apache with mod_jk?

Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread Sergej Kandyla
Rainer Duffner пишет: > Sergej Kandyla schrieb: > >> Hi, >> apache is good as backend server for dynamic applications. >> You could use something like nginx, haproxy as frontend for balancing >> multiple backend servers. >> I'm using nginx. This light web server could serve many thousand >> co