简体   繁体   English

IIS服务器如何处理HTTPS请求

[英]how HTTPS request is handled by IIS server

I am trying to understand the working of HTTP , IIS and sql server. 我试图了解HTTP,IIS和sql服务器的工作方式。

I am having an IIS 7 server in my environment which is interacting with a sql database server . 我的环境中有一台IIS 7服务器 ,该服务器正在与sql数据库服务器进行交互。

The architecture is 该架构是

Apache ----> IIS -----> SQL server

The Apache is a reverse proxy server which is sending the HTTP request to the IIS server and from there IIS server is interacting with the SQL database connecting by different application pools for different applications. Apache是​​反向代理服务器,它将HTTP请求发送到IIS服务器,并且IIS服务器从该服务器与SQL数据库进行交互,该SQL数据库通过针对不同应用程序的不同应用程序池进行连接。

My query is if some request has been forwarded by the Apache server and it has reached the IIS ; 我的查询是Apache服务器是否转发了某些请求,并且该请求已到达IIS; after that, if the network between the Apache and IIS is having any packet drops ; 之后,如果Apache和IIS之间的网络丢包了;

  • Will that have any affect to the performance of IIS and database server? 这会对IIS和数据库服务器的性能产生影响吗?
  • Will there be any long running queries in the worker process of the IIS? IIS的工作进程中是否会存在任何长时间运行的查询? Because my concern is what will happen after the queries that has successfully executed in the Database server. 因为我担心的是在数据库服务器中成功执行查询之后会发生什么。 But since the network between the IIS and Apache is broken how can they be forwarded further to the Apache and further to the end user. 但是,由于IIS和Apache之间的网络中断了,如何将它们进一步转发给Apache和最终用户。
  • Will these queries keep on holding the resources till they are forwarded from IIS to Apache? 在将这些查询从IIS转发到Apache之前,这些查询会一直保持资源吗? Because they have successfully completed their tasks but because of network issue they are not being forwarded further. 由于他们已经成功完成了任务,但是由于网络问题,因此无法进一步转发它们。 Or are such request stacked up somewhere by the IIS to free up the resources for the upcoming requests?? 还是由IIS将此类请求堆积在某个地方以释放即将到来的请求的资源?

Once a request has reached IIS it will go and do the required actions, and format the reply. 请求到达IIS后,它将执行所需的操作并格式化回复。 It will try to send the reply to the requestor but if the link has gone, it will be unable to. 它将尝试将答复发送给请求者,但如果链接消失,它将无法发送答复。 It will then abandon the request. 然后它将放弃该请求。 Resources it is holding for that request will be freed. 它为该请求保留的资源将被释放。

To get the data it had for you, Apache has to repeat the request. 为了获得您所需的数据,Apache必须重复该请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM