Advice on HA/LB setup for small installation

From: Jamie Tufnell <diesql(at)googlemail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Advice on HA/LB setup for small installation
Date: 2010-05-14 02:15:49
Message-ID: AANLkTinIn272FP0BcPnjgV82jPQ7xesFiuQ_Lo46tZSk@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

We have a webapp backed by a single PostgreSQL server and I'd like to
add a second primarily for availability. I figure if we can load
balance reads too then why not.

Having read over the HA docs/matrix, I'm considering using 9.0's hot
standby with pgpool-II to automatically balance reads without having
to adjust our webapp to split the reads/writes.

Firstly, is this a sound setup and does anyone using it have any
comments fore/against, gotchas?

Secondly, is there a companion tool to achieve this with pgbouncer?
Note I have nothing against pgpool, just curious as we're already
using pgbouncer in production.

Thanks!
J

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2010-05-14 02:45:50 Re: Advice on HA/LB setup for small installation
Previous Message Tom Lane 2010-05-13 22:46:04 Re: List traffic