Re: refusing connections based on load ... - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: refusing connections based on load ...
Date
Msg-id Pine.LNX.4.30.0104242109390.736-100000@peter.localdomain
Whole thread Raw
In response to Re: refusing connections based on load ...  (Doug McNaught <doug@wireboard.com>)
Responses Re: refusing connections based on load ...  (Christopher Masto <chris+pg-general@netmonger.net>)
List pgsql-hackers
Doug McNaught writes:

> A very valid objection.  I'm also dubious as to the utility of the
> whole concept.  What happens when Sendmail refuses a message based on
> load?  It is requeued on the sending end to be tried later.  What
> happens when PG refuses a new client connection based on load?  The
> application stops working.  Is this really better than having slow
> response time because the server is thrashing?

The concept is just as dubious as the concept of rejecting clients based
on how many clients are already connected.  There are some technical
reasons for the latter, but it is still used as an administrative tool.
The rule is, if you don't like it, don't use it.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: refusing connections based on load ...
Next
From: Jan Wieck
Date:
Subject: Re: RI oddness