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

CreateProcess vs Create Thread

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: CreateProcess vs Create Thread
Date: 2003-11-13 17:29:51
Message-ID: 3FB3BF8F.2050809@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
Hello,

   O.k. there has been a lot of discussion in regards to what the best 
method to take with PostgreSQL Win32 is.
It seems that the community is set on using CreateProcess. If this is 
the case I have a couple of further questions:

1. Are we just a bunch of Unix coders trying to develop a product for 
Win32 or are there any people a part
of the Win32 port project that actually have REAL, hardcore experience 
coding at the system level for Win32?
I am not trying to be an antagonist but I it is a legitamate question.

2. Have we built a test case? For example:

    We have a client that connects to a server. For every connection we 
start a new process and write 1k to disk from the client.

    Connect in varying degrees from 5 connection to say 500 connections.

    Do it with CreateProcess and the with CreateThread... Time the 
difference, and review the load on the server during the tests...

    What is the difference? Maybe it is nominal enough not to worry 
about it... Maybe it's not.

Sincerely,

Joshua D. Drake

-- 
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC - S/JDBC
Postgresql support, programming, shared hosting and dedicated hosting.
+1-503-222-2783 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL.Org - Editor-N-Chief - http://www.postgresql.org



In response to

Responses

pgsql-hackers-win32 by date

Next:From: Steve TibbettDate: 2003-11-13 17:37:24
Subject: Re: CreateProcess vs Create Thread
Previous:From: Bruce MomjianDate: 2003-11-13 14:52:50
Subject: Re: [PATCHES] initdb in C

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