Received: from genisys.gtv.ca (h-207-228-97-106.gen.cadvision.com [207.228.97.106]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA72043 for ; Tue, 16 Nov 1999 14:01:57 -0500 (EST) (envelope-from aaron@gtv.ca) Received: from stilborne (h-207-228-97-110.gen.cadvision.com [207.228.97.110]) by genisys.gtv.ca (8.9.3/8.8.7) with SMTP id MAA26508; Tue, 16 Nov 1999 12:02:17 -0700 From: "Aaron J. Seigo" To: Jeff Hoffmann Subject: Re: [GENERAL] Re: replication Date: Tue, 16 Nov 1999 11:54:23 -0700 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <99111609264002.18220@stilborne> <383192A9.AA3E25C4@propertykey.com> In-Reply-To: <383192A9.AA3E25C4@propertykey.com> Cc: pgsql-general@hub.org MIME-Version: 1.0 Message-Id: <99111612001404.18220@stilborne> Content-Transfer-Encoding: 8bit hi... > my favorite hack is to wrap the c/c++ api so you can set up a group of > mirror database connections and then calling the wrapped functions will > call the original function on each of the mirror database connections. > i've really never thought of it as something that should be part of the > library, though, since that's pretty easy to implement in the > application. very cool... but i too agree that this shouldn't necessarily be in the libraries... this needs to be in the back end... otherwise, if you have multiple people performing updates on different replicated servers, how can you guarentee concurancy? how do you manage the differences between read-only and updateable replicants? (this can be done using your wrapper method, but quickly gets clumsy) also, it would make maintaining replication simpler if it were part of the back end process... and not prone to some app that goes around your wrapped lib and defeats the replication scheme altogether... imo, it should be part of the transaction system.... =) -- Aaron J. Seigo Sys Admin