Re: dual active 2-node cluster?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: dual active 2-node cluster?
Дата
Msg-id 1523626874.2461.3.camel@cybertec.at
обсуждение исходный текст
Ответ на dual active 2-node cluster?  (Ron Watkins <rwatki@gmail.com>)
Ответы RE: dual active 2-node cluster?  ("Ron Watkins" <rwatki@gmail.com>)
Список pgsql-novice
On Fri, 2018-04-13 at 03:01 -0700, Ron Watkins wrote:
> We are working to setup a production environment and as such one requirement is to have
> as few single points of failure as possible. To that end, I have been searching the web
> for how to setup a 2-node cluster where both nodes are active. The goal is to allow both
> nodes to service SQL requests (load/query) and have a load balancer in front of the
> database to allow for transparent outage and node recovery.

You'd need synchronous replication, and if you do that with two nodes,
you'll get low availability because any outage will take down the whole
system.  That's not a shortcoming, that's unavoidable.

You need at least three nodes for decent high availability, particularly
if you want load balancing.

Look into Patroni for a high availability solution.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com


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

Предыдущее
От: Ron Watkins
Дата:
Сообщение: dual active 2-node cluster?
Следующее
От: "Amit S."
Дата:
Сообщение: Re: dual active 2-node cluster?