pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Johnson <ron.l.johnson@cox.net>
To: Josh Berkus <josh@agliodbs.com>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: hardware performance and some more
Date: 25 Jul 2003 12:12:56 -0500
Message-ID: <1059153176.26037.130.camel@haggis> (raw)
In-Reply-To: <200307250913.10103.josh@agliodbs.com>
References: <BasiliX-1.1.0-10591403113f2132d7efe6c@sandal.saglik.gov.tr>
	<1059142796.26034.106.camel@haggis>
	<200307250913.10103.josh@agliodbs.com>

On Fri, 2003-07-25 at 11:13, Josh Berkus wrote:
> Folks,
> 
> > Since PG doesn't have active-active clustering, that's out, but since
> > the database will be very static, why not have, say 8 machines, each
> > with it's own copy of the database?  (Since there are so few updates,
> > you feed the updates to a litle Perl app that then makes the changes
> > on each machine.)  (A round-robin load balancer would do the trick
> > in utilizing them all.)
> 
> Another approach I've seen work is to have several servers connect to one SAN 
> or NAS where the data lives.  Only one server is enabled to handle "write" 
> requests; all the rest are read-only.  This does mean having dispacting 
> middleware that parcels out requests among the servers, but works very well 
> for the java-based company that's using it.

Wouldn't the cache on the read-only databases get out of sync with
the true on-disk data?

-- 
+-----------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net             |
| Jefferson, LA  USA                                              |
|                                                                 |
| "I'm not a vegetarian because I love animals, I'm a vegetarian  |
|  because I hate vegetables!"                                    |
|    unknown                                                      |
+-----------------------------------------------------------------+





view thread (15+ messages)  latest in thread

Message-ID: <1059153176.26037.130.camel@haggis>
Permalink:  ../1059153176.26037.130.camel@haggis/
Also on:    postgresql.org/message-id/1059153176.26037.130.camel@haggis

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: ron.l.johnson@cox.net, josh@agliodbs.com
  Subject: Re: hardware performance and some more
  In-Reply-To: <1059153176.26037.130.camel@haggis>
  References: <BasiliX-1.1.0-10591403113f2132d7efe6c@sandal.saglik.gov.tr> <1059142796.26034.106.camel@haggis> <200307250913.10103.josh@agliodbs.com> <1059153176.26037.130.camel@haggis>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox