Register | Sign In


Understanding through Discussion


EvC Forum active members: 64 (9164 total)
4 online now:
Newest Member: ChatGPT
Post Volume: Total: 916,898 Year: 4,155/9,624 Month: 1,026/974 Week: 353/286 Day: 9/65 Hour: 3/1


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Bug Reporting II
iceage 
Suspended Member (Idle past 5943 days)
Posts: 1024
From: Pacific Northwest
Joined: 09-08-2003


Message 131 of 197 (408033)
06-30-2007 1:16 AM
Reply to: Message 126 by Admin
06-29-2007 12:35 PM


Re: Website Performance
Percy writes:
Each page access requires compilation and interpretation of about 36,000 lines of Perl code.
How about running with mod_perl? Judging from the nature of the site and that all content is dynamic that may provide a huge performance boost.

This message is a reply to:
 Message 126 by Admin, posted 06-29-2007 12:35 PM Admin has replied

Replies to this message:
 Message 133 by Admin, posted 06-30-2007 7:56 AM iceage has replied

  
iceage 
Suspended Member (Idle past 5943 days)
Posts: 1024
From: Pacific Northwest
Joined: 09-08-2003


Message 134 of 197 (409123)
07-07-2007 1:44 PM
Reply to: Message 133 by Admin
06-30-2007 7:56 AM


Re: Website Performance
my ($x);
map {if (/^msg=(.*)/) {$x.=$1}} @A;
if ($x) {...do something...}(
I am sure that this will work in a mod_perl environment and the "undef" is not necessary. When you declare the variable with the "my" the variable is reinitialized.
You are right though, you would have to search for all accumulating functions ie (.=, +=, and push) and be sure all variables are declared. I have learned that "use strict;" while annoying is your friend in the long run
Percy writes:
So, can I put you in charge of the EvC Forum Mod-Perl Conversion Project?
Sure, one of my trades is a Perl slinger. However, I am booked right now but maybe this fall or winter.

This message is a reply to:
 Message 133 by Admin, posted 06-30-2007 7:56 AM Admin has replied

Replies to this message:
 Message 135 by Admin, posted 07-07-2007 1:55 PM iceage has replied

  
iceage 
Suspended Member (Idle past 5943 days)
Posts: 1024
From: Pacific Northwest
Joined: 09-08-2003


Message 136 of 197 (409290)
07-08-2007 1:09 PM
Reply to: Message 135 by Admin
07-07-2007 1:55 PM


Re: Website Performance
Percy writes:
When posting a message
Could it be that the database is getting large and INSERTS are getting stacked up, since they can be very expensive depending on the indexes used.

This message is a reply to:
 Message 135 by Admin, posted 07-07-2007 1:55 PM Admin has not replied

Replies to this message:
 Message 137 by AdminAsgara, posted 07-08-2007 2:50 PM iceage has not replied
 Message 138 by Percy, posted 07-08-2007 5:12 PM iceage has not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024