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

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

2009-02-11 Thread Jure Pečar
On Wed, 11 Feb 2009 11:50:34 -0800 Florin Andrei 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 in the way of traffi

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

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

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

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 c

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

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 questio

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 pr

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 wrote: > Anto Marky пишет: > > Hi, > > I am new to clustering and loadbalancing in apache, What

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 a

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 gr

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-09 Thread Victor Padro
On Tue, Feb 10, 2009 at 1:21 AM, Anto Marky wrote: > Hi, > > Thanks for the link. > > > On Tue, Feb 10, 2009 at 12:35 PM, Fajar Priyanto wrote: > >> On Tue, Feb 10, 2009 at 2:57 PM, Anto Marky >> wrote: >> > Hi, >> > I am new to clustering and loadbalancing in apache, What is best way of >> > do

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áč 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: > http://code.google.com/p/ath/

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 wrote: > On Tue, Feb 10, 2009 at 2:57 PM, Anto Marky 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

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 CentOS@centos.

Re: [CentOS] clustering and load balancing Apache

2009-02-09 Thread Fajar Priyanto
On Tue, Feb 10, 2009 at 2:57 PM, Anto Marky 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 comes > default in i