Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 86647 invoked from network); 4 Jun 2008 11:08:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2008 11:08:40 -0000 Received: (qmail 34087 invoked by uid 500); 4 Jun 2008 11:08:37 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 34013 invoked by uid 500); 4 Jun 2008 11:08:37 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 33996 invoked by uid 99); 4 Jun 2008 11:08:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 04:08:37 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.133.51.241] (HELO mail.hippo.nl) (213.133.51.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 11:07:36 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8C633.3FC0BABE" Subject: RE: sql transformer - display another site during transformer's work Date: Wed, 4 Jun 2008 13:06:52 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sql transformer - display another site during transformer's work Thread-Index: AcjGL9VcvalS9GBETceDc5mZn3+lPQAAbWxQAABjQvM= References: <17643261.post@talk.nabble.com> <17643824.post@talk.nabble.com> From: "Jeroen Reijn" To: , X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8C633.3FC0BABE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I agree with Jasha, that a background task would be the best solution.=20 Another solution would be that if it takes minutes, you could try to use = Ajax for generating the files in the background and displaying a = processing task to the user. Jeroen -----Original Message----- From: Jasha Joachimsthal [mailto:j.joachimsthal@onehippo.com] Sent: Wed 6/4/2008 12:59 PM To: users@cocoon.apache.org Subject: RE: sql transformer - display another site during transformer's = work =20 > -----Original Message----- > From: navrc [mailto:navrkal.pavel@seznam.cz]=20 > Sent: woensdag 4 juni 2008 12:43 > To: users@cocoon.apache.org > Subject: RE: sql transformer - display another site during=20 > transformer's work > At the and of month we make some reports in pdf, there is=20 > lots of big tables in the DB. So the selects take long time. Is the DB locked during the SELECT? Where do you store the reports or do you display them directly from the pipeline? If so, you can better make a background tak (cron job) generate the reports, write them to disk and display the reports on the site from that location on the filesystem. > View this message in context:=20 > http://www.nabble.com/sql-transformer---display-another-site-d > uring-transformer%27s-work-tp17643261p17643824.html > Sent from the Cocoon - Users mailing list archive at Nabble.com. Jasha Joachimsthal=20 www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466=20 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org ------_=_NextPart_001_01C8C633.3FC0BABE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: sql transformer - display another site during transformer's = work

I agree with Jasha, that a background task would be = the best solution.
Another solution would be that if it takes minutes, you could try to use = Ajax for generating the files in the background and displaying a = processing task to the user.

Jeroen


-----Original Message-----
From: Jasha Joachimsthal [mailto:j.joachimsthal@onehipp= o.com]
Sent: Wed 6/4/2008 12:59 PM
To: users@cocoon.apache.org
Subject: RE: sql transformer - display another site during transformer's = work

> -----Original Message-----
> From: navrc [mailto:navrkal.pavel@seznam.cz]
> Sent: woensdag 4 juni 2008 12:43
> To: users@cocoon.apache.org
> Subject: RE: sql transformer - display another site during
> transformer's work

> At the and of month we make some reports in pdf, there is
> lots of big tables in the DB. So the selects take long time.

Is the DB locked during the SELECT? Where do you store the reports or = do
you display them directly from the pipeline? If so, you can better = make
a background tak (cron job) generate the reports, write them to disk = and
display the reports on the site from that location on the = filesystem.

> View this message in context:
>
h= ttp://www.nabble.com/sql-transformer---display-another-site-d
> uring-transformer%27s-work-tp17643261p17643824.html
> Sent from the Cocoon - Users mailing list archive at = Nabble.com.

Jasha Joachimsthal

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam = +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646


---------------------------------------------------------------------
= To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


------_=_NextPart_001_01C8C633.3FC0BABE--