logo       

Bigger apps, how to speed up?: msg#00072

Subject: Bigger apps, how to speed up?
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/cgiapp@xxxxxxxxxxxxxxxxx/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe