Re: What is the Best Postgresql Load Balancing Solution

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Najib Abi Fadel <nabifadel(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What is the Best Postgresql Load Balancing Solution
Date: 2006-09-20 23:33:50
Message-ID: 1158795230.30652.157.camel@dogma.v10.wvs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2006-09-20 at 00:46 -0700, Najib Abi Fadel wrote:
> I have a web application that is accessed by a large number of users.
> My application is written in PHP and uses postgres. Apache is our web
> server.
> The performance of my application drops down when a large numbers of
> users connects at the same time. I need to have a better response
> time ! That's why i need to load balance the web requests and the
> database.
>
> Regards,
> Najib.
>

Slony is a well-tested system. I recommend you try Slony and see if it
suits your needs. If not, please tell us where it falls short, and
someone will have another suggestion for you.

Also, as someone else pointed out, make sure you're using connection
pooling if that's appropriate (which it usually is for web
applications).

Regards,
Jeff Davis

In response to

Browse pgsql-general by date

  From Date Subject
Next Message gurkan 2006-09-20 23:53:55 creating table while slony-I replication is running
Previous Message Leonel Nunez 2006-09-20 23:29:04 Re: What is the Best Postgresql Load Balancing Solution