精品推荐
阅读排行
· 工程竣工验收报告· 大学生毕业自我鉴定
· 大学生自我鉴定7
· 大学毕业生自我鉴定
· 大学生学年自我鉴定
· 大学毕业生自我鉴定
· 师范生实习鉴定评语
· 给老师的一封感谢信
· 心理健康教育论文
· 黑板报设计图欣赏
| 作者:不明 来源:www.pccode.net 整理 发布时间:2007-1-24 15:21:10 发布人:wongrs | |
|
Performance Monitor and ISAPI which asks what can be done to decrease the active thread count value. How can you decrease the number of threads used by Web apps? Add RAM to IIS computer. Run all apps in a separate memory space. (but increase process count value) Replace ISAPI apps with CGI scripts. (also increase process count value) Install an ISAPI filter to validate users. Answer: 2 (not very sure) The chief difference between the CGI programming model and the ISAPI programming model is that CGI creates a unique process for every request, while ISAPI does not. With CGI, every time an HTTP server receives a request it must initiate a new process, which, along with maintaining processes, is very resource intensive. In the ISAPI model, each request received by an HTTP server initiates the creation of a ECB data structure. Creating and maintaining a data structure is much easier and faster than initiating a new process. In addition, since the ECB and the extension are usually both running in the same process as IIS, the server can process requests faster and accommodate a higher volume of requests. Finally, rather than using process isolation, the ISAPI model uses threads to isolate processing work items. Using multiple threads to synchronize work allows IIS to make more efficient use of system resources than is possible with the CGI model, or other models based on process isolation. IIS 4.0 supports process isolation for ISAPI DLLs and scripts. IIS uses custom high speed methods to establish communication between the server process and the surrogate process housing the ISAPI DLLs thus providing robustness with high performance. Still, the ISAPI DLLs are only loaded once per isolated process. The application namespace boundary governs how the different processes are created and used. You want to install IIS to support an Intranet Web Site for the sales, marketing and accounting department of your company. All client browsers support Host Headers. The requirements for each department are: Sales Accounting Marketing unique name unique name unique name secure directory secure directory secure directory Install IIS on 3 NT Servers; implement NTFS security; seperate computer for each department Install IIS on 1 NT Servers; implement NTFS security; implement Host Headers Install IIS on 1 NT Workstations; implement NTFS security Install IIS on 3 Win95 compute
|
|
| [ ] [返回上一页] [打 印] [收 藏] | |
上一篇文章:MCSE习题——基础知识(6)(1)
|
