Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Nathan MyersDate: 2000-12-05 02:02:06
Subject: Re: Bitmap index
Previous:From: Bruce GuenterDate: 2000-12-04 23:57:29
Subject: Re: Using Threads?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group