From: | mlw <markw(at)mohawksoft(dot)com> |
---|---|
To: | Scott Marlowe <scott(dot)marlowe(at)ihs(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Issues tangential to win32 support |
Date: | 2002-05-09 17:36:05 |
Message-ID: | 3CDAB385.B020C7B6@mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Scott Marlowe wrote:
>
> There are some issues that the whole idea of a win32 port should bring up.
> One of them is whether or not postgresql should be rewritten as a
> multi-threaded app.
Perhaps.
>
> If postgresql will never be rewritten as a multi-threaded app, then
> performance under Windows is likely to ALWAYS be slow, since that
> multi-thread is the preferred model for good performance on W32.
There are methods for reducing process creation load on Windows. One way is to
make PostgreSQL one big .DLL and just spin off a small program. A windows .DLL
is different than a UNIX shared library, in some ways better, in other ways
worse, either way, it is a usefull tool.
> note
> that many Unixes prefer multi-threaded models as well (Solaris comes to
> mind) so there's the possibility that a multi-threaded postgresql could
> enjoy better performance on more than just windows.
The isolation of a process is very important to reliable operation. Going
threaded usually means allowing a single connection to bring down the whole
server.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-05-09 17:39:33 | Re: Psql 7.2.1 Regress tests failed on RedHat 7.3 |
Previous Message | Tom Lane | 2002-05-09 17:35:19 | Re: Queries using rules show no rows modified? |