Re: Using Threads? - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: Using Threads?
Date
Msg-id 3A2C4274.D58673CA@wgcr.org
Whole thread Raw
In response to RE: Using Threads?  (Matthew <matt@ctlno.com>)
List pgsql-hackers
Matthew wrote:
>         The primary advantage that I see is that a single postgres process
> can benefit from multiple processors. I see little advantage to using thread
> for client connections.

Multiprocessors best benefit multiple backends.  And the current forked
model lends itself admirably to SMP.

And I say that even after using a multithreaded webserver (AOLserver)
for three and a half years.  Of course, AOLserver also sanely uses the
multi process PostgreSQL backends in a pooled fashion, but that's beside
the point.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


pgsql-hackers by date:

Previous
From: Bruce Guenter
Date:
Subject: Re: Using Threads?
Next
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Bitmap index