Re: [GENERAL] Re: replication

From: "Aaron J(dot) Seigo" <aaron(at)gtv(dot)ca>
To: Jeff Hoffmann <jeff(at)propertykey(dot)com>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] Re: replication
Date: 1999-11-16 18:54:23
Message-ID: 99111612001404.18220@stilborne
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Hoffmann 1999-11-16 19:33:02 Re: [GENERAL] Re: replication
Previous Message Brandon Ibach 1999-11-16 18:35:36 CREATE OPERATOR error