Re: peer-to-peer replication with Postgres

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: peer-to-peer replication with Postgres
Дата
Msg-id AANLkTiljxjsZY8oeYYwCx8KiWOgptAoS54nVn7Lpzs1n@mail.gmail.com
обсуждение исходный текст
Ответ на Re: peer-to-peer replication with Postgres  (Mike Christensen <mike@kitchenpc.com>)
Ответы Re: peer-to-peer replication with Postgres  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On Mon, May 10, 2010 at 8:00 PM, Mike Christensen <mike@kitchenpc.com> wrote:
> The concept of updating one database and doing all your reads from
> another database is kinda confusing to me.  Does that mean you have to
> design your whole app around that concept, have a different connection
> string and what not for your "writable" database and "read-only
> databases"?  I'm using Castle ActiveRecord which I'm not even sure
> supports that (without a ton of custom code anyway).
>
> Is there any sort of abstraction layer (like in the driver level) that
> can abstract that and just make updates go to one DB and reads
> round-robin to other DBs?  Hopefully there's a way to make this design
> simple to implement.

Pretty sure pgpool can do the "read from these dbs, write to this one".

В списке pgsql-general по дате отправления:

Предыдущее
От: Mike Christensen
Дата:
Сообщение: Re: peer-to-peer replication with Postgres
Следующее
От: Mike Christensen
Дата:
Сообщение: Re: peer-to-peer replication with Postgres