Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Possible Enhancement
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Podge
Support Moderator

Ireland
3775 Posts

Posted - 21 September 2005 :  13:57:24  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
quote:
mlev is not stored in your cookie by the way.


Well done . There not a lot than can get past you Huwr!

quote:
Yes, it will check them all, but since this is down.asp performance is not really an issue.


In topic.asp when request("ARCHIVE") is specified in the code and ARCHIVE=true does not exist as a querystring IIS will check all 5 collections. Thats a performance hit every time topic.asp is viewed. Servervariables is the most expensive to query cpuwise as IIS has to retrieve a lot of data to respond e.g. http_host, server_name, etc. If querying all 5 collections can be avoided I think it should be.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 September 2005 :  19:11:33  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
In topic.asp when request("ARCHIVE") is specified in the code and ARCHIVE=true does not exist as a querystring IIS will check all 5 collections. Thats a performance hit every time topic.asp is viewed. Servervariables is the most expensive to query cpuwise as IIS has to retrieve a lot of data to respond e.g. http_host, server_name, etc. If querying all 5 collections can be avoided I think it should be.
That is a fair point, and one I hadn't considered,it actually checks it twice if it doesn't equal true , now what would be interesting is to see what kind of difference it does make.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 21 September 2005 :  19:39:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
You would expect that because request("ARCHIVE") is used twice that it would "cost" twice as much but in truth it only costs slightly more. I read something somewhere a long time ago that stated that the second time you search the collection isn't as cpu intensive as the first.

I doubt I will be able to get conclusive proof that that line is to blame for IIS crapping out. In my view it could only have been a (small) contributing factor at most but at least I can eliminate it now. I'll update this thread if I find anything.

Thanks for your help, Huwr.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07