Threads vs processes - The Apache Way (Re: Path to PostgreSQL portabiliy)

From: Robert <robert(at)robert(dot)cz>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Threads vs processes - The Apache Way (Re: Path to PostgreSQL portabiliy)
Date: 2002-05-10 06:02:26
Message-ID: 3CDB6272.287FC575@robert.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Win32 & threads support are both going to be a lot of work and maybe
we'll need in the future one or both - is there any chance Postgres
developers look at the Apache experience? Briefly, Apache 2 had the some
problems as are discussed here (need to support Win, problems with Win32
fork, questionable cygwin etc) and they decided to solve it once and for
all with their Apache Portable Runtime and Multi-Processing Modules. APR
was already mentioned here - now how about MPMs?

- Robert

PS Relevant links:

http://httpd.apache.org/docs-2.0/mpm.html
http://httpd.apache.org/docs-2.0/new_features_2_0.html

PS2 It took them some three years to release Apache 2 so it's probable
not that easy - but you knew that already.

PS3 And when talking about Win32 Postgres uses, don't forget there might
be a large number of people who would use Posgtres embeded in accounting
and many other packages - it can be single user Win98, but it might
still need decent SQL backend (subqueries, user functions for all kind
of CDROM catalogs etc). So when doing major rearchitecture of Postgres,
it might be usefull to plan for a bit of modularity maybe like in
Mozilla when you can drop UI and use just the layout engine or just the
JavaScript etc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2002-05-10 06:32:11 Re: Queries using rules show no rows modified?
Previous Message Hiroshi Inoue 2002-05-10 02:35:59 Re: Queries using rules show no rows modified?