Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to determine the number of servers needed

How much traffic can one web server handle? What's the best way to see if we're beyond that?

I have an ASP.Net application that has a couple hundred users. Aspects of it are fairly processor intensive, but thus far we have done fine with only one server to run both SqlServer and the site. It's running Windows Server 2003, 3.4 GHz with 3.5 GB of RAM.

But lately I've started to notice slows at various times, and I was wondering what's the best way to determine if the server is overloaded by the usage of the application or if I need to do something to fix the application (I don't really want to spend a lot of time hunting down little optimizations if I'm just expecting too much from the box).

like image 470
Jared Avatar asked Sep 12 '08 23:09

Jared


People also ask

How many servers are needed for 100 users?

Number of servers, as a way of identifying markets, is of primary interest to many IT vendor companies. On average, there are 20 deployed PCs per server. Hence, an organization with 100 PCs will have an average of five servers. Warning: Number of deployed PCs or end-users is not the same as the number of employees.

How are server limits calculated?

To increase it, you must also raise MaxRequestWorkers using the following formula: ServerLimit value x 25 = MaxRequestWorkers value. For example, if ServerLimit is set to 20, then MaxRequestWorkers will be 20 x 25 = 500. MPM Prefork: The default MaxRequestWorkers value is 256.

How do you calculate number of requests per second?

In input/output systems, the number of requests per second is bound by the memory available. To calculate requests per second you divide the memory by memory required for an instance and then multiple it by the inverse of task time taken to complete an instance.


1 Answers

What you need is some info on Capacity Planning..

Capacity planning is the process of planning for growth and forecasting peak usage periods in order to meet system and application capacity requirements. It involves extensive performance testing to establish the application's resource utilization and transaction throughput under load. First, you measure the number of visitors the site currently receives and how much demand each user places on the server, and then you calculate the computing resources (CPU, RAM, disk space, and network bandwidth) that are necessary to support current and future usage levels.

like image 152
Gulzar Nazim Avatar answered Sep 26 '22 14:09

Gulzar Nazim