IIS 7.5 反向代理实现
我很想了解 IIS 7.5 反向代理是如何在重写模块 (v2) 中实现的。
我计划建立一个网站,用于处理来自用户(互联网)的请求和部署在同一服务器上的 HTTP 服务之间的代理。我已经在 IIS 中设置了一个网站并配置了反向代理逻辑。然后,我在同一服务器上设置了另一个网站,并在那里部署了我的所有 WCF REST 服务。我计划在请求到达实际服务(例如 SOAP 的 WCF 路由服务)之前在反向代理网站上实现 IIS 卸载、常见任务(例如身份验证等)。配置工作得很好。
不过,我正在尝试了解此设置的含义。当 IIS 进行反向代理时,它是否会在这两个网站之间创建新的 HTTP 请求(和新的 TCP 端口)?即使两个站点位于同一服务器上?使用反向代理时,我是否应该期望在此服务器上打开的 TCP 连接数增加一倍?
此外,是否有人在类似的设置中遇到过任何性能/资源问题?
干杯, 操作系统
I am curious to understand how IIS 7.5 Reverse Proxy is implemented in Rewrite Module (v2).
I am planning to setup a website that will handle proxing between requests coming from users (internet) and my HTTP services that are deployed on the same server. I have setup a website within IIS and configured the reverse proxy logic. I've then setup another website on the same server and deployed all my WCF REST services there. I am planning to implement IIS offloading, common tasks (such as authentication, etc) on the reverse proxy website before the request gets to the actual services (like WCF routing service for SOAP). Configuration is working perfectly fine.
However I am trying to understand the implications of this setup. When IIS does reverse proxing, does it create a new HTTP request (and a new TCP port) between those two websites? And even if both sites are on the same server? Should I expect number of TCP connections opened on this server to get doubled when reverse proxy is used?
Furthermore, has anyone experienced any performance/resource issues with a similar setup?
Cheers,
OS
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论