Hello,

After using CA (or whatever it's called/going to be called now) on
small projects, I now threw it at my employer's website (online
shop). Sales have been rising after I replaced the horribly hacked
existing PHP site with the shiny Perl one, so my employer is happy
with Perl and hates PHP ;-)

Since there are more and more customers, and more and more
"features" are added I now see the rendering time grow, in other
words, the site is getting "slower". I use mod_perl with a
PostgreSQL database (all on one FreeBSD server). Sometimes (in busy
times) it the rendering process of a "page" can grow to over 2
seconds, which is just quite long (and yes, in really bad times, it
can be over 10 seconds). On average, my benchmarks tell me it takes
about half a second to a second to render the output.

Instead of just throwing more RAM and CPU power at it, I wondered if
there are better tricks available to speed up the site. Would it
help to move PostgreSQL to a different server? Maybe move some time
consuming processes to a different machine? Set up load balancing?
Reconfigure Apache (again ...) ?

Also, what would be the best way (in C::A) to check for the
bottleneck of this problem? My benchmarking right now is limited to
a Benchmark::Timer implementation, which can tell me the time it
took to get the work done.

Any pointers of what I can do to speed things up again?

Thanks in advance!

-- 
B10m

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to