Re: Anyone working on better transaction locking? - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Anyone working on better transaction locking?
Date
Msg-id 1050175777.392.13.camel@tokyo
Whole thread Raw
In response to Re: Anyone working on better transaction locking?  (Kevin Brown <kevin@sysexperts.com>)
List pgsql-hackers
On Fri, 2003-04-11 at 17:32, Kevin Brown wrote:
> The big overhead in the process model on most platforms is in creation
> and destruction of processes.  PostgreSQL has a relatively high
> connection startup cost.  But there are ways of dealing with this
> problem other than threading, namely the use of a connection caching
> middleware layer.

Furthermore, IIRC PostgreSQL's relatively slow connection creation time
has as much to do with other per-backend initialization work as it does
with the time to actually fork() a new backend. If there is interest in
optimizing backend startup time, my guess would be that there is plenty
of room for improvement without requiring the replacement of processes
with threads.

Cheers,

Neil



pgsql-hackers by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: Backpatch FK changes to 7.3 and 7.2?
Next
From: "Michael Paesold"
Date:
Subject: Re: Anyone working on better transaction locking?