Re: Using Threads?

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Matthew <matt(at)ctlno(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Using Threads?
Date: 2000-12-05 01:18:44
Message-ID: 3A2C4274.D58673CA@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Myers 2000-12-05 02:02:06 Re: Bitmap index
Previous Message Bruce Guenter 2000-12-04 23:57:29 Re: Using Threads?