« Home « Kết quả tìm kiếm

Module 6: Monitoring and Optimizing a Web Server


Tóm tắt Xem thử

- Optimize a Web server..
- Optimize a Web site..
- Optimizing a Web Server.
- When discussing how to monitor and optimize Web applications, open System Monitor and point out each of the performance counters that are listed in the table for the Microsoft Active Server Pages and the Web Service performance objects.
- Finally, describe the performance counters that you can use to gather baseline information about Web server performance..
- Describe the performance counters that you can use to identify potential processor bottlenecks.
- Optimizing a Web Site.
- In this demonstration, you will install the Exploration Air Demo Web site, and then you will install the Web Application Stress Tool and build the script by clicking on the links in the Exploration Air Web site..
- Next, explain the strategies that you can use to optimize the performance of your Web site.
- Finally, you can gather baseline information to track the performance of your Web server..
- Web Server.
- You can limit the number of simultaneous connections to a Web site.
- In the IIS snap-in , in the console tree, right-click the name of the Web site that you want to configure, and then click Properties..
- On the Web Site tab, under Connections, click Limited to, and then in the Limited to box, type the maximum number of simultaneous connections that you want to allow..
- In the Connection Timeout box, type the connection timeout value, and then click OK..
- In the IIS snap-in, right-click server_name (where server_name is the name of your Web server), and then click Properties..
- megabytes [MB]) in the Limited to box..
- Emphasize that this procedure is performed on the Web server..
- Use counters in the Web Service performance object to monitor CGI and ISAPI applications.
- Request Wait Time The number of milliseconds that the most recent request was waiting in the queue..
- Requests Queued The number of requests in the queue waiting for service..
- Open System Monitor and point out each of the performance counters that are listed in the table for the Active Server Pages performance object..
- The following table lists performance counters that are included in the Web Service performance object.
- Open System Monitor and point out each of the performance counters that are listed in the table for the Web Service performance object..
- The following table describes the performance counters that you can use to gather baseline information on your Web server..
- Provide descriptions of the performance counters that you can use to gather baseline information..
- The number of milliseconds that the most recent request was waiting in the queue.
- The number of requests in the queue that are waiting for service.
- You can disable the performance boost for applications in the foreground..
- You can use System Monitor to monitor processor activity on your Web server..
- The number of threads in the processor queue.
- In the IIS snap-in, right-click the Web site that you want to configure, and then click Properties..
- The maximum number of simultaneous connections established in the Web service since the server was started..
- The maximum number of simultaneous connections established in the FTP service since the server was started..
- Describe the performance counters that you can use to monitor IIS 5.0 service connections..
- On the Web Site tab, clear the HTTP Keep-Alives Enabled check box, and then click OK..
- In the IIS snap-in, right-click the Web or FTP site on which you want to enable logging, and then click Properties..
- On the Web Site or FTP Site tab, select the Enable Logging check box..
- In the Active log format list, click the log file format that you want to use, and then click OK..
- In the IIS snap-in, right-click the directory that you want to configure, and then click Properties..
- In the IIS snap-in, right-click the Web or FTP site that you want to configure, and then click Properties..
- On the Web Site or FTP Site tab, under Enable Logging, click Properties..
- In the Extended Logging Properties dialog box, on the General Properties tab, select the options to use when starting a new log file:.
- You can use process accounting to determine how Web applications use CPU resources on the Web server.
- On the Web Site tab, under Active log format, verify that the W3C Extended Log File Format is selected, and then click Properties..
- In the Extended Logging Properties dialog box, on the Extended Properties tab, select the Process Accounting check box, and then click OK..
- Modify the properties of the default Web site so that the log file is stored in the.
- In the IIS snap-in, expand server_name (where server_name is the name of your server), right-click Default Web Site, and then click Properties..
- In the Log file directory box, type C:\MOC\2295A\Labs\Mod6 and then click OK twice..
- In the IIS snap-in, right-click Default Web Site, and then click Properties..
- On the Web Site tab, under Enable Logging, click Properties..
- In the Extended Logging Properties dialog box, on the Extended Properties tab, under Extended Logging Options, select all check boxes, and then click OK twice..
- In the Log file directory box, type %Windir%\System32\Logfiles and then click OK twice..
- Testing a Web Site.
- You can use the Microsoft Web Application Stress Tool to test your Web site.
- Installing the Web Application Stress Tool.
- By default, Setup.exe installs the tool in the C:\Program Files\Microsoft Web Application Stress Tool folder.
- Install the Web Application Stress Tool on the master client computer..
- You can use the Web Application Stress Tool to generate a test script in several different ways.
- You can also manually type in the URLs to create a new test script..
- In the Exploration Air 5.0 – Install COM+ Components Before Use message box, click OK, and then click Finish..
- To install the Web Application Stress Tool.
- In the Microsoft Web Application Stress Tool License Agreement dialog box, click Yes..
- To create a script by using the Web Application Stress Tool 1.
- Stress Tool, and then click Microsoft Web Application Stress Tool..
- On the Scripts menu, point to Create, and then click Record..
- In the Browser Recorder message box, click Next, and then click Finish..
- In the Address box, type http://localhost/exair5/default.asp and then press ENTER..
- Switch to the Web Application Stress Tool, and then click Stop Recording..
- There are several strategies that you can use to optimize the performance of your Web site:.
- There are several strategies that you can use to optimize the performance of your Web site..
- You can use the Performance tuning slider on the Performance tab of the Web site’s property sheet to optimize performance based on the number of daily connections that you anticipate for your Web site..
- Lead-in You can use the.
- Install the Web Application Stress Tool..
- In this exercise, you will install the Web Application Stress Tool and the Exploration Air Web site..
- Install the Web Application Stress Tool by double- clicking.
- In the File menu, click Open, go to.
- In the Run dialog box, type C:\boot.ini and then click OK..
- Start the Web Application Stress Tool, and then click Lab 6a Ex 2..
- In the Web Application Stress window, click Lab 6a Ex 2..
- On the Scripts menu, click Run.
- Fill in the table below:.
- Also, because frustrated customers are less likely to return to the Web site in the future, the company might lose future revenues..
- To do this, double-click CPUstres in the.
- Start the Web Application Stress Tool, open.
- In the Web Application Stress Tool window, on the View menu, click Scripts, and then click Lab 6a Ex 3..
- On the Scripts menu, click Run, and then click Run test..
- In the Web Application Stress Tool, run script Lab 6a Ex 3 again, and then go to the Reports view and view the two reports under Lab 6a Ex 3..
- In the Web Application Stress Tool, on the Scripts menu, click Run, and then click Run test..
- In the Web Application Stress Tool, click Lab 6a Ex 4..
- On the Scripts menu, click Run..
- In the Maximum Network Use box, type 400, and then click OK..
- In the Web Application Stress Tool, run the script again, and then go to the Reports view and view the two reports under Lab 6a Ex 4..
- In the Web Application Stress Tool, on the Scripts menu, click Run..
- On the Performance tab, clear the Enable Bandwidth Throttling check box, and then click OK..
- In the IIS snap-in, expand server_name, right-click Default Web Site, and then click Properties..
- On the Web Site tab, under Connections, select Limited To, type 1, and then click OK..
- default.asp in the Address box..
- On the Web Site tab, under Connections, select the Unlimited check box, and then click OK..
- What is the purpose of the Web Application Stress Tool?

Xem thử không khả dụng, vui lòng xem tại trang nguồn
hoặc xem Tóm tắt