X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4B95CD72AB for ; Thu, 25 Aug 2005 21:45:54 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57056-07 for ; Fri, 26 Aug 2005 00:45:51 +0000 (GMT) Received: from servata.com (unknown [216.152.249.226]) by svr1.postgresql.org (Postfix) with ESMTP id 24DECD71F0 for ; Thu, 25 Aug 2005 21:45:50 -0300 (ADT) Received: from [66.74.199.70] (helo=[192.168.1.100]) by servata.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1E8SLt-00013D-4F; Thu, 25 Aug 2005 17:45:49 -0700 Message-ID: <430E663F.1080107@empires.org> Date: Thu, 25 Aug 2005 17:45:51 -0700 From: Jeff Davis User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Miller Cc: Carlos Henrique Reimer , Chris Browne , pgsql-general@postgresql.org Subject: Re: Postgresql replication References: <20050825192657.5098.qmail@web53202.mail.yahoo.com> <1124999689.3076.8.camel@dbamm01-linux> In-Reply-To: <1124999689.3076.8.camel@dbamm01-linux> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.077 required=5 tests=[AWL=0.027, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/1312 X-Sequence-Number: 82720 Matt Miller wrote: >>>http://pgfoundry.org/projects/pgcluster/ which provides syncronous >>>multi-master clustering. >> >>He specifically said that pgcluster did not work for him >>because ...PGCluster requires that there be a load balancer and a >>replicator centrally located managing the cluster. If a network >>problem happens at the centralized location, it would bring down all >>locations completely. > > > I think the load balancer is an optional component. Clients can connect > either to a load balancer, or directly to a specific machine. The replicator surely is not optional, and must be centralized. > Also, I think pgcluster can operate async. If the system runs in > "normal" mode then the client gets a response as soon as the transaction > is committed on the local machine. In "reliable" mode the client waits > for the commit to happen on all machines. > Interesting. I suppose whatever works for your application is the right answer for replication. PGCluster is query-based, right? I suppose the question would then be, would he rather use a trigger-based replication solution, like Slony, or a query-based replication solution. Regards, Jeff Davis