Re: PostgreSql replication and load balancing ( is Slony-I a solution?)

From: "Alexander Staubo" <alex(at)purefiction(dot)net>
To: "Jan Bilek" <bilekj(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSql replication and load balancing ( is Slony-I a solution?)
Date: 2007-05-01 20:17:35
Message-ID: 88daf38c0705011317q3697646u39e402004766356c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/1/07, Jan Bilek <bilekj(at)gmail(dot)com> wrote:
> Is Slony-I capable of load balancing and how to set it up? We searched the
> web and some people mentioned that Slony-I could do load balancing, but
> haven't found how to make Slony-I to do it.

Slony does not do load balancing. Personally, I recommend doing the
load balancing in the application if possible; you will need to funnel
updates to the master and distribute queries to the slaves, and the
app is in the best position to determine whether something is an
update or a query. Any intermediate middleware is going to add
additional latency and overhead and will add just another single point
of failure to an already complex system.

Alexander.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-05-01 20:23:16 Re: HP/Pgsql/DBD::Pg issue
Previous Message Andrew - Supernews 2007-05-01 19:17:04 Re: Processing a work queue