| Author |
Message |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Thu Feb 26, 2004 11:15 am |
  |
Ok, being that both my sites together see more than 200,000 hits daily I've found that protector is increasing page load times dramatically. On http://computercops.biz the times were going from on average 1 second to greater than 17 (range 8-35).
I've also noticed a lesser strain on NC than on CCSP due to the amount of sessions.
CCSP on averge has 1500 sessions active at any time compared to NC's 400. The AdminBan doesn't even come up for CCSP.
Guess this translates into optimizing includes/blocker.php such that high volume sites do not see performance loss.
In the meantime, I had to disable protector.  |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
telli
Support Mod


Joined: Aug 21, 2003
Posts: 335
|
Posted:
Thu Feb 26, 2004 12:17 pm |
  |
I recently did some work on a clients site and moved him from server to server. I waited on importing those tables till I had the rest in because they had to go bit by bit. We deactivated the Protector so thier wouldnt be any errors while he was checking things out and he was so amazed at the server speed. Then I told him that it wasnt the server and explained what I had done. I have to say that was one of the biggest database tables I have seen and when I finnally talked him out of using it his page was loading from 5 to 10 seconds faster on average. He isnt quite as big 1500 users online at once so I could only imagine.. |
_________________ [img]http://www.codezwiz.com/extern.php?get=sig[/img]
http://www.codezwiz.com
PHPNuke Themes
$3.99 500 MB Storage & 20 GIG Trans w/ NO limit MYSQL
Click Me |
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Thu Feb 26, 2004 12:48 pm |
  |
Thanks telli, this reaffirms that protector in its current state is not optimized for large volume sites. The code needs to be optimized certainly for peformance. If we can increase speed significantly on a high traffic site such as CCSP, then I am sure it will not even be noticed on smaller scale portals. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Gaurav
Captain


Joined: Oct 13, 2003
Posts: 317
|
Posted:
Thu Feb 26, 2004 9:03 pm |
  |
I dont have that much traffic...abt. 15,000 hits a day and my page gen time was like 11-13 sec. I think the tracking of the page visits by every visitor is just waste of resources. |
_________________
 |
|
    |
 |
MisterWORK
Support Mod


Joined: Jun 11, 2003
Posts: 245
|
Posted:
Fri Feb 27, 2004 2:34 am |
  |
Can be turned of.. but i will in next relese make a possible to just track if the user have put in a not allowed string
ie:
Enable Tracker Yes: No:
Secure Trac Yes: No: //When set to on just BAD url is logged  |
_________________ Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se |
|
     |
 |
Gaurav
Captain


Joined: Oct 13, 2003
Posts: 317
|
Posted:
Fri Feb 27, 2004 2:39 am |
  |
thanx, I will try and post my results. |
_________________
 |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Feb 27, 2004 7:37 am |
  |
Yes that will be nice too.
Also, protector has been enabled earlier again due to some table indexes mister sent me. Notice, both sites are running fairly well with these updates. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
MisterWORK
Support Mod


Joined: Jun 11, 2003
Posts: 245
|
Posted:
Fri Feb 27, 2004 11:28 am |
  |
So they are running now ?? and are page tracker and all that aktive ? |
_________________ Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se |
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Feb 27, 2004 11:45 am |
  |
Yes everything is active and running on both sites. Nice eh? Not sure if it is as optimal as we can get on the table indexes, but lets iron that out if possible. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
MisterWORK
Support Mod


Joined: Jun 11, 2003
Posts: 245
|
Posted:
Fri Feb 27, 2004 12:57 pm |
  |
| Zhen-Xjell wrote: |
| Not sure if it is as optimal as we can get on the table indexes, but lets iron that out if possible. |
This was just my first step.. so as im having help now whit the security checking can I my selves focus on this
Hopfully can I make it more optimized  |
_________________ Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se |
|
     |
 |
sixf00t4
Sergeant


Joined: Oct 16, 2003
Posts: 123
|
Posted:
Sun Feb 29, 2004 1:33 pm |
  |
so exactly what are you guys doing to get the page gens down? |
|
|
    |
 |
Gaurav
Captain


Joined: Oct 13, 2003
Posts: 317
|
Posted:
Sun Feb 29, 2004 4:15 pm |
  |
am wondering too....
I stoped the page logs and it is still slow. |
_________________
 |
|
    |
 |
sixf00t4
Sergeant


Joined: Oct 16, 2003
Posts: 123
|
Posted:
Sun Feb 29, 2004 4:32 pm |
  |
take out the include blocker.php in your header to get loads back to normal. |
_________________ Legend of Six is an RPG, lots of fun.
free, no email registration required, text/browser based, lots of players, and looking for developers! |
|
    |
 |
Gaurav
Captain


Joined: Oct 13, 2003
Posts: 317
|
Posted:
Sun Feb 29, 2004 5:19 pm |
  |
lol, thats wot I have been doing during high traffic...but mister found a solution. So am just looking for that.
thanx neways |
_________________
 |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Mar 01, 2004 7:04 am |
  |
Table indexes! That is the key. I've got them here and at CCSP running no problems. Mister will release it along with the enhancements in the newer version -- to be included with the bundle. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
|
|