Re: Timeout and wait-forever in sync rep

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Timeout and wait-forever in sync rep
Date: 2010-10-15 18:24:48
Message-ID: 1287167088.1725.1594.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2010-10-15 at 18:51 +0200, Stefan Kaltenbrunner wrote:
> >
> > When exactly don't the keepalives work?
>
> well tcp level keepalives are not terribly portable(or can only be
> partially controlledd from the app) and on some platforms have lower
> limits that are in the minutes which is too long for a lot of usecases.
> The keepalive usage we have in 9.0 is mostly for removing an annoyance
> on some major platforms but depending on them for a major feature like
> timeouts in sync rep is probably not a good idea.

If we need it, then I'm glad. It's easy to understand and easy to
program too.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Training and Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2010-10-15 19:15:23 Re: Extensions, this time with a patch
Previous Message Tom Lane 2010-10-15 17:36:38 Re: Re: starting to review the Extend NOT NULL representation to pg_constraint patch