pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Hallgren <thhal@mailblocks.com>
To: pgsql-general@postgresql.org
Subject: Re: Deep integration of PostgreSQL with Apache
Date: Tue, 03 May 2005 23:19:43 +0200
Message-ID: <4277EAEF.5030707@mailblocks.com> (raw)
In-Reply-To: <20050503151626.37630.qmail@web52405.mail.yahoo.com>
References: <20050503151626.37630.qmail@web52405.mail.yahoo.com>

Robin Boerdijk wrote:
> Why would
> this web/database server be limited to using only one connection?
> 
No it wouldn't. I misunderstood your question. It's one process/one 
connection. If you don't use Apache as a multi-threaded server, then 
your question makes more sense. Still, it's a lot of work to make it 
happen and I'm not sure you'd gain anything. My advice would be to 
consider a multi-threaded server that uses a connection pool and perhaps 
include some shared caching of data that is more static in nature in the 
middle tier. That could really save some context switches.

Regards,
Thomas Hallgren




view thread (4+ messages)

Message-ID: <4277EAEF.5030707@mailblocks.com>
Permalink:  ../4277EAEF.5030707@mailblocks.com/
Also on:    postgresql.org/message-id/4277EAEF.5030707@mailblocks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: thhal@mailblocks.com, pgsql-general@postgresql.org
  Subject: Re: Deep integration of PostgreSQL with Apache
  In-Reply-To: <4277EAEF.5030707@mailblocks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox