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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dg(at)illustra(dot)com (David Gould)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [PATCHES] Try again: S_LOCK reduced contentionh]
Date: 1998-05-11 14:49:11
Message-ID: 24798.894898151@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

dg(at)illustra(dot)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.

Cool idea ... but how to get the socket passed off from postmaster to
back end, other than through a fork?

I think there is a facility in SYSV messaging to transmit a file
descriptor from one process to another, but that's not going to be a
portable answer.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jose' Soares Da Silva 1998-05-11 14:49:37 locks
Previous Message Thomas G. Lockhart 1998-05-11 14:47:09 Re: [HACKERS] Automatic type conversion