-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael A Nachbaur wrote:
> [EMAIL PROTECTED] wrote:
> 
>> Lo all,
>>
>> I have a page that is generated from data in a db. The users are
>> complaining that it takes from 30s to 60s to load the page.
>> Now I have put logging into apache and from the start of the request
>> to the end (of my code) takes about 14s. Which means the bottleneck is
>> either in AxKit or a net one. How can I log the start and finish time
>> of the AxKit pipeline? I have come up with turning the trace on and
>> looking at the timestamps on the intermediate files, but that isn't
>> ideal. I'd rather it went to the apache log. There is only the one
>> transform the xml goes through. 
> 
> 
> I would say that the most likely culprits would be either your XSL
> stylesheet processing taking up an inordinate amount of time or a slow
> net connection.
> 
> Slow stylesheets could be due to a number of factors, such as issuing
> lots of document() calls which may be waiting on external resources,
> downloading of remote DTDs, or even simply just a big source XML or XSL
> stylesheet to process.
> 
> If you want more details about AxKit's processing, you can set or
> increase your AxDebugLevel (see the AxKit manpage for more information
> on this) to gain visibility into what AxKit is doing when it's
> processing your request.  This data will be sent to your error_log.
> 
> Good luck.
> 

if it's really the processing you could use this module to cache
informations obtained from database or take a look how I solved the problem.

http://search.cpan.org/~tomson/Apache-AxKit-Provider-RDBMS-0.01/

Altough the module is not tested and used a lot it may show you how to
cache database content.

Tom

Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFDW+PEkVPeOFLgZFIRAsGAAJ9o9wdC5GtOqdVxf6Q8ARWqCrq6hgCgmNS7
KgzBn7SVOy8Sc2YYJF9s/kk=
=Vw54
-----END PGP SIGNATURE-----

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

Reply via email to