Re: refusing connections based on load ...

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: refusing connections based on load ...
Дата
Msg-id Pine.LNX.4.30.0104242109390.736-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: refusing connections based on load ...  (Doug McNaught <doug@wireboard.com>)
Ответы Re: refusing connections based on load ...  (Christopher Masto <chris+pg-general@netmonger.net>)
Список 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 по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: refusing connections based on load ...
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: RI oddness