Re: Anyone working on better transaction locking?

From: Neil Conway <neilc(at)samurai(dot)com>
To: Kevin Brown <kevin(at)sysexperts(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Anyone working on better transaction locking?
Date: 2003-04-12 19:29:38
Message-ID: 1050175777.392.13.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paesold 2003-04-12 20:08:40 Re: Anyone working on better transaction locking?
Previous Message Michael Paesold 2003-04-12 18:51:36 Re: Backpatch FK changes to 7.3 and 7.2?