Iis – Support 250+ concurrent users for an intranet web site

asp.netiisiis-6iis-7

Context

We want to deploy a web site on II6.0/7.0 for intranet use only. The web site has a typical three tier architecture. The middle tier is deployed as an application server on the same machine as IIS. The asp.net code running in worker process makes call to application server, which in turn connects to database for data.

We are doing load testing using Load Runner and observed few things. Even for 20 concurrent user testing, IIS is giving 401, 500 and time out errors in a very random manner. The problem is very random. Sometimes the testing for more number of user succeeds without any error but fails for few users. IIS behavior is not predictable.

Server Machine Details (Application Server + IIS)

1) Dual proc quad core
2) 8 GB RAM

Questions

  1. Are there any IIS parameters that
    needs to be tweaked to support max
    of 250 concurrent users?
  2. Could there be any problem with the asp.net
    code?
  3. What should be the strategy of resolving the above mentioned
    problem?

Best Answer

If your app is stuggling with 20 concurrent users and its not doing something very intensive like industrial-strength number-crunching, I would be inclined to take a guess that its the code that may be to blame rather than IIS.

My first suggestion is you check the codebase for bad design/logic, optimise database and data access routines and see if that has any effect. You could try using Resharper or similar to assist you in this.

Related Topic