pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dfontaine@hi-media.com>
To: Pierre C <lists@peufeu.com>
Cc: Matthew Wakeling <matthew@flymine.org>
Cc: Balkrishna Sharma <b_ki@hotmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Parallel queries for a web-application |performance testing
Date: Thu, 17 Jun 2010 13:31:51 +0200
Message-ID: <87y6edj3o8.fsf@hi-media-techno.com> (raw)
In-Reply-To: <op.vefyqwfweorkce@apollo13>
References: <BAY149-w5365651952D598741FE4E1F0DE0@phx.gbl>
	<alpine.DEB.2.00.1006171032120.2534@aragorn.flymine.org>
	<op.vefyqwfweorkce@apollo13>

"Pierre C" <lists@peufeu.com> writes:
> The same is true of a web server : 1000 active php interpreters (each eating
> several megabytes or more) are not ideal for performance !
>
> For php, I like lighttpd with php-fastcgi : the webserver proxies requests
> to a small pool of php processes, which are only busy while generating the
> page. Once the page is generated the webserver handles all (slow) IO to  the
> client.

I use haproxy for that, it handles requests queues very effectively.
-- 
dim



view thread (6+ messages)

Message-ID: <87y6edj3o8.fsf@hi-media-techno.com>
Permalink:  ../87y6edj3o8.fsf@hi-media-techno.com/
Also on:    postgresql.org/message-id/87y6edj3o8.fsf@hi-media-techno.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-performance@postgresql.org
  Cc: dfontaine@hi-media.com, lists@peufeu.com, matthew@flymine.org, b_ki@hotmail.com
  Subject: Re: Parallel queries for a web-application |performance testing
  In-Reply-To: <87y6edj3o8.fsf@hi-media-techno.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