From: | Steve Atkins <steve(at)blighty(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: tie user processes to postmaster was:(Re: [HACKERS] scheduler in core) |
Date: | 2010-02-23 16:02:04 |
Message-ID: | 0B5BB1C9-3B25-4E3E-9F0E-CBC8250EE827@blighty.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Feb 22, 2010, at 9:02 PM, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
>> Regarding hooks or events, I think postmaster should be kept simple:
>> launch at start, reset at crash recovery, kill at stop. Salt and pepper
>> allowed but that's about it -- more complex ingredients are out of the
>> question due to added code to postmaster, which we want to be as robust
>> as possible and thus not able to cook much of anything else.
>
> This is exactly why I think the whole proposal is a nonstarter. It is
> necessarily pushing more complexity into the postmaster, which means
> an overall reduction in system reliability. There are some things
> I'm willing to accept extra postmaster complexity for, but I say again
> that not one single one of the arguments made in this thread are
> convincing reasons to take that risk.
Would having a higher level process manager be adequate - one
that spawns the postmaster and a list of associated processes
(queue manager, job scheduler, random user daemons that are
used for database application maintenance). It sounds like
something like that would be able to start up and shut down
an entire family of daemons, of which the postmaster is the major
one, gracefully.
It could also be developed almost independently of core code,
at most it might benefit from a way for the postmaster to tell it
when it's started up successfully.
Cheers,
Steve
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2010-02-23 16:08:16 | Re: tie user processes to postmaster was:(Re: [HACKERS] scheduler in core) |
Previous Message | Andrew Dunstan | 2010-02-23 15:59:10 | Re: pretty print viewdefs |