gpt4 book ai didi

iis - HTTP.SYS 内核模式驱动程序

转载 作者:行者123 更新时间:2023-12-02 03:25:29 26 4
gpt4 key购买 nike

IIS 7 中的 HTTP.SYS 有什么大不了的?

据我了解,它的级别较低,这有利于安全。为什么?

没有上下文切换,这可能会很昂贵。为什么?

请解释一下。

谢谢!

最佳答案

其好处已得到充分记录,

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/a2a45c42-38bc-464c-a097-d7a202092a54.mspx?mfr=true

By using HTTP.sys to process requests, IIS 6.0 delivers the followingperformance enhancements:

  • Kernel-mode caching. Requests for cached responses are served without switching to user mode.
  • Kernel-mode request queuing. Requests cause less overhead in context switching, because the kernel forwards requests directly to the correct worker process. If no worker process is available to accept a request, the kernel-mode request queue holds the request until a worker process picks it up.

Using HTTP.sys and the new WWW service architecture provides the following benefits:

  • When a worker process fails, service is not interrupted; the failure is undetectable by the user because the kernel queues the requests while the WWW service starts a new worker process for that application pool.
  • Requests are processed faster because they are routed directly from the kernel to the appropriate user-mode worker process instead of being routed between two user-mode processes.

http://learn.iis.net/page.aspx/101/introduction-to-iis-7-architecture/

HTTP.sys provides the following benefits:

  • Kernel-mode caching. Requests for cached responses are served without switching to user mode.
  • Kernel-mode request queuing. Requests cause less overhead in context switching because the kernel forwards requests directly to the correct worker process. If no worker process is available to accept a request, the kernel-mode request queue holds the request until a worker process picks it up.
  • Request pre-processing and security filtering.

关于iis - HTTP.SYS 内核模式驱动程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3153069/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com