Hi all,

I'm new to the list and I have a question related to mod_perl... I have tried my best to solve the problem, but failed... So I turn to you guys...

I'm currently in the process of optimizing a my company's web application that I've rewritten almost from scratch for 4 months. The older version uses Apache::Registry, slightly modified cgi scripts and procedural perl modules. Whereas the new version is a rewrite of all those into object oriented modules, with Template Toolkit as the templating system. The code has become much more manageable now.

However, the speed of the new code is a LOT worse than what I had expected. I have optimized the code with caches, indexes and rewriting inefficient SQL queries. But the speed is still 2 to 4 times slower than the old version for the same algorithm. (Of course I only optimized what the profiler tells me).

(I only try to improve the speed of the code, so the use of proxy shouldn't be relevant here - I think, I could be wrong).

Does anyone has any other suggestion to improve a web application's speed?
I'd give more details if needed...

Thanks for your attentions...

---
Badai Aqrandista
Cheepy (?)

_________________________________________________________________
Dating? Try Lavalife – get 7 days FREE! Sign up NOW. http://www.lavalife.com/clickthru/clickthru.act?id=ninemsn&context=an99&a=20233&locale=en_AU&_t=33473

Reply via email to