Threads vs processes - The Apache Way (Re: Path to PostgreSQL portabiliy) - Mailing list pgsql-hackers

From Robert
Subject Threads vs processes - The Apache Way (Re: Path to PostgreSQL portabiliy)
Date
Msg-id 3CDB6272.287FC575@robert.cz
Whole thread Raw
In response to Path to PostgreSQL portabiliy  (mlw <markw@mohawksoft.com>)
List 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.


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Queries using rules show no rows modified?
Next
From: Hannu Krosing
Date:
Subject: Re: Queries using rules show no rows modified?