From: Pierre-Frédéric Caillaud <lists@boutiquenumerique.com>
To: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Performance Bottleneck
Date: Thu, 05 Aug 2004 08:40:35 +0200
Message-ID: <opsb8x5xk3cq72hf@musicbox> (raw)
In-Reply-To: <41110D06.5090900@ethereal-realms.org>
References: <ktQPc.23297$yT2.16983@clgrps13>
<410FDC53.5080509@bigfoot.com>
<X0ZPc.23543$yT2.23053@clgrps13>
<20040804153624.GA27551@pobox.com>
<41110D06.5090900@ethereal-realms.org>
Apache processes running for 30 minutes ?.....
My advice : use frames and Javascript !
In your webpage, you have two frames : "content" and "refresh".
"content" starts empty (say, just a title on top of the page).
"refresh" is refreshed every five seconds from a script on your server.
This script generates a javascript which "document.write()'s" new entries
in the "content" frame, thus adding new records in the upper frame.
Thus, the refreshing uses a new request every 5 seconds, which terminates
very fast, and does not hog an Apache process.
Turn keepalive timeout down.
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: lists@boutiquenumerique.com
Subject: Re: Performance Bottleneck
In-Reply-To: <opsb8x5xk3cq72hf@musicbox>
* 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