Third Party Product Review:
Reviews are a new feature of Planet Source Code that allow site visitors to share their experiences on commercial third party products in real life situations.


Scaling problem warning about the browser sniffer control

Submitted on: 1/5/2015 11:40:00 PM
By: Ian Ippolito (PSC)  
Level: Beginner
User Rating: By 2 Users
Compatibility: ASP (Active Server Pages)
Views: 2082
author picture
     ASP comes with a control named MSWC.BrowserType that can be used to detect the user's browser. In another article I posted, it detailed how to use it. However, if you have a heavy use web site, you need to read this warning.

				     Planet Source Code receives a pretty decent volume of traffic about 6-7 hits/second. When I implemented some code to detect the user's browser using MSWC.BrowserType and copied it to production and interesting thing happened. For about an hour, the site functioned normally. But after an hour or so, the CPU would max out at 100% and the site would accept new connections but wouldn't post back any return content to the users.

     When I unplugged the T1s, the CPU still wouldn't go down...telling me that IIS was hosed. This repeated itself for about 2-3 days (site crashing many times...having to reboot to fix) until I put two and two together and removed the MSWC.BrowserType code.

     Instantly the site went back to normal. So the lesson I learned is...use this component with care!

For those who are interested, this was done on 2 machines running WLBS and Windows 2000 SP2.

Other 12 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this review (in the Beginner category)?
(The review with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

 There are no comments on this submission.

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular review, please click here instead.)

To post feedback, first please login.