Hello Peter,

recently my colleagues and I had an idea, that I want to submit here.

We thought devide our web-applications in two categories: writing and 
reading activities.

The latter are just reading (query) activities already prepared in static 
html form by the former ones. This files are saved in a special area of 
apache web server and are organized in a way that the query criteria element 
are parent directories of each html file.

The former are activities that insert/update content into the system. This 
category of pages "must" be build with cocoon. The last activities we should 
insert after every process, is the generation of static above html that will 
be saved as an element the reading activities.

Problem:
we cannot use request parameters for reading activities in order to perform 
a query. For example, instead of having a location like that:
http://www.myweb.com/cocoon/myaccount.html?account=23451&detailed=yes
we should do so:
http://www.myweb.com/cocoon/account_23451/detailed_yes/myaccount.html.

the file myaccount.html can be generated each time an account value 
information in DB (or whereever) has been changed.

Hope everything is clear. What you thing about it?

Cheers

Pino

----Original Message Follows----
From: Peter Royal <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Speed Problem
Date: Thu, 13 Dec 2001 13:32:33 -0500

On Thursday 13 December 2001 01:12 pm, you wrote:
 > We are determining now, whether to use a powerful server application like
 > Cocoon 2 for flexible web/wap/etc. output or not. The only real problem 
to
 > me is the speed of cocoon. Does somebody have any experience if and (if
 > yes) how Cocoon 2 could be made more efficient in the qay of needing 
time?
 > I'd like to get to know some ways to make it more performant as it is 
much
 > to slow for our purposes (just world wide web output) yet.

cache cache cache! that makes a huge difference. Also if using tomcat be 
sure
to set reloadable=FALSE for your context. That can literaly shave a second 
or
two off each request under load.

There have been quite a few threads on cocoon-dev on this topic recently
though, I would suggest checking the archives as well.
http://marc.theaimsgroup.com is a good one.
-pete

--
peter royal -> [EMAIL PROTECTED]

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>





_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to