同一浏览器和IIS并发连接中的多个选项卡 [英] Multiple Tabs in the same browser and IIS Concurrent Connection
问题描述
我了解单个浏览器中的多个标签共享同一个会话。但它是否使用相同的并发连接?
I understand multiple tabs in a single browser shares the same session. But does it uses the same concurrent connection?
更具体地说,浏览器中同一网站的每个标签都会创建多个并发连接或共享一个公共连接。
More specifically does each tab in the browser to the same website will create multiple concurrent connections or share a common connection.
我将使用IIS作为我的网络服务器。
I will be using IIS as my webserver.
谢谢。
推荐答案
这有很多动态,这取决于您如何配置您的网站和应用程序池。对于使用IIS创建的标准网站,配置几乎没有变化,单个用户(浏览器)将发出一个连接,从中发生多个请求。当然,单个请求将阻止直到完成。
There are many dynamics to this, and it depends on how you configure your WEBSITE, and the App Pool. For a standard website created with IIS and very little to no changes in the configuration, a single user (Browser) will issue a single connection from which multiple requests will take place. Of course, a single request will block until "completion".
然而,据说,浏览器或多或少具有并发限制。用于设置@ 2,但现在已根据您使用的更改。 Think Chrome目前为4。
However that being said, Browsers more or less have a "concurrent limit". Used to be set @ 2, but has now changed based on which one you use. Think Chrome is currently at 4.
第三,浏览器现在更聪明一些,抓住页面后,他们会打开多个请求(通过单个连接 - 如果在IIS [默认]上设置HTTP Keep Alive,它将同时获取图像(资源)和HTML。
Thirdly, browsers are a little smarter these days, and upon grabbing a page, they will open multiple requests (through a single connection - if HTTP Keep Alive set on IIS [default]) which will get images (resources) and the HTML concurrently.
HTH
这篇关于同一浏览器和IIS并发连接中的多个选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!