Обсуждение: Re: [HACKERS] Re: [PATCHES] Try again: S_LOCK reduced contentionh]

Поиск
Список
Период
Сортировка

Re: [HACKERS] Re: [PATCHES] Try again: S_LOCK reduced contentionh]

От
"Maurice Gittens"
Дата:

>dg@illustra.com (David Gould) writes:
>> The idea that occurred to me is to have the postmaster
>> "pre-spawn" some servers in each (configurable) database. These would run
>> all the initialization and then just wait for a socket to be handed to
them.
>> The postmaster would during idle time replenish the pool of ready
servers.
>

Doesn't Apache do something similar? It should be easy enough to borrow
their
implementation.

Regards,
    Maurice.




Re: [HACKERS] Re: [PATCHES] Try again: S_LOCK reduced contentionh]

От
Brett McCormick
Дата:
They do it by having all children perform a "listen" on the socket..
would the ipc stuff function as usual in this case?  I'm not clear on
how the ipc stuff works.

On Mon, 11 May 1998, at 17:18:38, Maurice Gittens wrote:

> Doesn't Apache do something similar? It should be easy enough to borrow
> their
> implementation.
>
> Regards,
>     Maurice.
>
>
>