Understanding load factors expand/collapse all

expand/collapse item About load factors

When you set up your ArcIMS site, you need to have some idea of the type of load your site will encounter. Load is a factor of number of requests and CPU usage. Based on your expected or current load, you can make decisions on whether you need to add more machines or CPU's to your site. You need to understand the usage on your site in order to maximize performance and provide the fastest possible response to your users. You can do some basic calculations that can give you a rough idea how your site handles load based on the response time of your services. You should understand the following concepts:

Total throughput

Throughput refers to the rate at which requests are performed. In ArcIMS, you should estimate the maximum number of transactions that your configuration can handle. The more machines and CPU's you are using, the more simultaneous requests can be handled. Throughput is often measured in transactions per hour (TPH) or transactions per second (TPS). You can estimate throughput using the following formula:

Throughput (TPH) = ((#CPU*3600) / Average Service Time)*.80

The following example illustrates using this formula. If you have two CPU's and an average total service time of .5 seconds, the maximum configuration capacity for your site is ((2 * 3600) / .5) or 14400 requests per hour processed. This value assumes 100 percent CPU usage. If you use the multiplier of .80, the maximum number of requests you can expect your site to process is 11520 requests per hour. Remember that this is a rough estimate, and the actual value will vary depending on network traffic, the number of faster or slower requests than expected, and other variables.

Peak hour usage

Peak hour usage is the number of requests your site receives during the busiest hour of the day. The best way to calculate the peak hour usage is to monitor your production site for one or more 24 hour periods. One way to monitor this usage is to turn on the Spatial Server log files to at least level 3. You can then review how many requests were made each hour.

If your expected Spatial Server load is greater than the maximum throughput, you may need to add more CPU's. If the two values are close, you may be able to increase the maximum configuration capacity by decreasing the average service time. For more information about optimizing map configuration files, see Optimizing ArcIMS services checklist.

Response time to the user

The ultimate goal for any Web site is to return a response to a requesting client as quickly as possible. The Spatial Server may be processing requests efficiently, but other factors may prevent a user from receiving the response in a timely matter. Some variables are:

Further reading

Every ArcIMS site has different resources, infrastructure, data, services, and users. What works well for one site may not work as well for another. The above calculations help you to understand your site better, but the numbers are very rough. For information on acquiring more details about your site, good resources are available from the Systems Integration Services Web site. Some recommended papers are:



Search code: @stability_cpu