From: | Kevin Grittner <kgrittn(at)ymail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>, Andres Freund <andres(at)anarazel(dot)de>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Proposal: Implement failover on libpq connect level. |
Date: | 2015-09-09 20:30:49 |
Message-ID: | 1784601749.30934.1441830649267.JavaMail.yahoo@mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> I think the problem we should be trying to solve is: Given a set
> of server IPs, connect to one that is up.
>
> I believe this comes up in several different scenarios.
>
> Example #1: [single server; changing IP address gracefully]
>
> Example #2: [xDB/BDR client uses local master if up; else a remote]
>
> Example #3: [SR/HS with changing primary]
For all of those it is clear that we do not need (or want!)
heartbeat, STONITH, fencing, etc. to be handled by the connector.
If the above are the sorts of problems we are trying to solve, a
very simple solution is the best. I know you outlined several; I'm
not sure it would matter all that much which one we used -- any
would work and someone should Just Do It.
> I'm sure there are more.
Ay, there's the rub. Some people seemed to be suggesting that this
should be far more than what you describe above. That would, IMO,
be a mistake.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2015-09-09 21:39:03 | Re: Raising our compiler requirements for 9.6 |
Previous Message | Fabien COELHO | 2015-09-09 20:07:08 | Re: checkpointer continuous flushing |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-09-11 12:38:58 | Re: Proposal: Implement failover on libpq connect level. |
Previous Message | Robert Haas | 2015-09-08 22:21:02 | Re: Proposal: Implement failover on libpq connect level. |