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 each incoming

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 connection

Re: [CentOS] clustering and load balancing Apache

2009-02-12 Thread Anto Marky
Thanks for your reply On Wed, Feb 11, 2009 at 9:22 PM, J Potter jpotter-cen...@codepuppy.comwrote: Look at pound: http://www.apsis.ch/pound/ If you are concerned about traffic volume, you might consider running squid as a transparent proxy in front of pound. I.e.: request - squid - pound

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread Anto Marky
Hi, Thanks for your reply, If I have my content in a centralised system like amazon s3, will I have problem syncronizing? Thanks and Regards Marky On Tue, Feb 10, 2009 at 3:38 PM, Sergej Kandyla sk.p...@gmail.com wrote: Anto Marky пишет: Hi, I am new to clustering and loadbalancing in

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread John R Pierce
Anto Marky wrote: If I have my content in a centralised system like amazon s3, will I have problem syncronizing? s3 is an example of a DE-centralized distributed cloud system. by the simple fact that you're asking such a vague and generic question, I'd hazard to guess, yes, you will have

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread Rainer Duffner
John R Pierce schrieb: Anto Marky wrote: If I have my content in a centralised system like amazon s3, will I have problem syncronizing? s3 is an example of a DE-centralized distributed cloud system. by the simple fact that you're asking such a vague and generic question, I'd

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 concurrent

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread Sergej Kandyla
Florin Andrei пишет: Sergej Kandyla wrote: 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 concurrent connections!

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
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

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread J Potter
Look at pound: http://www.apsis.ch/pound/ If you are concerned about traffic volume, you might consider running squid as a transparent proxy in front of pound. I.e.: request - squid - pound - apache Where squid will return the response for everything marked as cacheable and still fresh;

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's too

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 match

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread Florin Andrei
J Potter wrote: It's hard to get very specific about what's best for your setup without know the specifics of things like the data sync needs on the apache nodes, so take all of this with a grain of salt -- or as a default starting place. I did not ask anything related to my setup. I

Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread Jure Pečar
On Wed, 11 Feb 2009 11:50:34 -0800 Florin Andrei flo...@andrei.myip.org wrote: I was just curious about performance comparisons between different types of load balancers in general. It's hard to say ... you usualy use load balancers to achieve higher availability and put as little as possible

Re: [CentOS] clustering and load balancing Apache

2009-02-10 Thread Sergej Kandyla
Anto Marky пишет: Hi, I am new to clustering and loadbalancing in apache, What is best way of doing it? How do I do the clustering and what tools do I need to use? Do I have those tools, I use CentOS , Do i have any tools in CenOs which comes default in it? And how do I do apache load

Re: [CentOS] clustering and load balancing Apache

2009-02-10 Thread 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 concurrent connections! It works great!

Re: [CentOS] clustering and load balancing Apache

2009-02-10 Thread Florin Andrei
Sergej Kandyla wrote: 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 concurrent connections! It works great! In

[CentOS] clustering and load balancing Apache

2009-02-09 Thread Anto Marky
Hi, I am new to clustering and loadbalancing in apache, What is best way of doing it? How do I do the clustering and what tools do I need to use? Do I have those tools, I use CentOS , Do i have any tools in CenOs which comes default in it? And how do I do apache load balancing? should I rely on

Re: [CentOS] clustering and load balancing Apache

2009-02-09 Thread Fajar Priyanto
On Tue, Feb 10, 2009 at 2:57 PM, Anto Marky markycen...@gmail.com wrote: Hi, I am new to clustering and loadbalancing in apache, What is best way of doing it? How do I do the clustering and what tools do I need to use? Do I have those tools, I use CentOS , Do i have any tools in CenOs which

Re: [CentOS] clustering and load balancing Apache

2009-02-09 Thread David Hrbáč
Fajar Priyanto napsal(a): This is a good start to give you some overview: http://www.ibm.com/developerworks/linux/library/l-linux-ha/index.html Then, you can go here: http://code.google.com/p/ath/ David Hrbáč ___ CentOS mailing list

Re: [CentOS] clustering and load balancing Apache

2009-02-09 Thread Anto Marky
Hi, Thanks for the link. On Tue, Feb 10, 2009 at 12:35 PM, Fajar Priyanto fajar...@arinet.orgwrote: On Tue, Feb 10, 2009 at 2:57 PM, Anto Marky markycen...@gmail.com wrote: Hi, I am new to clustering and loadbalancing in apache, What is best way of doing it? How do I do the clustering

Re: [CentOS] clustering and load balancing Apache

2009-02-09 Thread Anto Marky
Hi, Thanks for the link. On Tue, Feb 10, 2009 at 12:50 PM, David Hrbáč hrbac.c...@seznam.cz wrote: Fajar Priyanto napsal(a): This is a good start to give you some overview: http://www.ibm.com/developerworks/linux/library/l-linux-ha/index.html Then, you can go here:

Re: [CentOS] clustering and load balancing Apache

2009-02-09 Thread Victor Padro
On Tue, Feb 10, 2009 at 1:21 AM, Anto Marky markycen...@gmail.com wrote: Hi, Thanks for the link. On Tue, Feb 10, 2009 at 12:35 PM, Fajar Priyanto fajar...@arinet.orgwrote: On Tue, Feb 10, 2009 at 2:57 PM, Anto Marky markycen...@gmail.com wrote: Hi, I am new to clustering and