Re: SR/libpq - outbound interface/ipaddress binding

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: SR/libpq - outbound interface/ipaddress binding
Дата
Msg-id 1266967190.3752.4822.camel@ebony
обсуждение исходный текст
Ответ на SR/libpq - outbound interface/ipaddress binding  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Ответы Re: SR/libpq - outbound interface/ipaddress binding  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Список pgsql-hackers
On Tue, 2010-02-23 at 10:00 +0100, Stefan Kaltenbrunner wrote:
> While playing with SR/HS in a more complex datacenter environment I 
> immediatly hit the need to being able to specify the ipaddress(or 
> interface) that the backend(or libpq) uses to connect to the master.
> 
> There are a few reasons for being able to do so like:
> 
> * we are now suddenly in a situation where the backend can create 
> outbound connections on it's own so people will have to add firewall 
> rules and being able to guarantee the source IP will help maintainance 
> (otherwise stuff might break if you say add an alias IP on an interface)
> * prioritising - if you know that replication traffic is on a given IP 
> you can actually do fancy stuff like routing it over a different gigE 
> line or giving it prority on a WAN connection
> * some of those also apply to other libpq clients but those are usually 
> not in that complex network/system environments as servers are

The whole reason for using libpq was that it gave us a stable base to
work on. It also means that we are restricted to any issues libpq has,
though the benefit is that any improvement there helps all clients. So
any changes you make would benefit Slony, Bucardo, Londiste as well.

Not for 9.0, though sounds like a welcome change.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: function side effects
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Move documentation of all recovery.conf option to a new chapter.