Re: [htmltmpl] speeding up an h-t website on a windoze box
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2004-04-17 19:55:04
|
On Sat, 17 Apr 2004, Puneet Kishor wrote: > Mod_perl is out because the server might be running IIS (and even if it > isn't, I am sure my script will have to be re-hacked). > > I was hoping for IPC-SharedCache, but that doesn't seem possible on Win. Have you tried the file_cache option? All it needs is Storable, so it should work on Windows. On Linux it's as fast as the shared_cache, although I don't know much about how fast the Windows file-system is. > Other than simply increasing the hardware capability, are there any > insights on what I can do? Figure out what's actually taking the most time. You can do that by using a profiler like Devel::DProf. Since you're using DBI you can also use DBI's built-in profiler to examine the performance of your database queries. Most likely HTML::Template isn't take a significant amount of time in your application. Usually network delays and database calls take much longer than HTML::Template. -sam |