IIS 中怎么可能有超过 1 个并发连接?
据我了解,HTTP 协议是无状态的。 (对我来说)这意味着,它一次只服务一个连接。
即使有 1,000,000 百万用户尝试访问某个站点,该站点一次也只能为一个连接提供服务。
因此,当我在 IIS 中看到“最大并发用户数”(或类似内容)的设置时,我想知道这是什么意思?
From what I understand about the HTTP protocol is that it is stateless. This means (to me) that is, it is only ever serving one connection at a time.
Even if there is 1,000,000 million users trying to access a site, it can only ever be serving one connection at a time.
So when I see a setting in IIS saying "Maximum number of concurrent users" (or similar) it makes me wonder, what does this mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
理论上,它可以是任意数字,直到 TCP 连接耗尽。
实际上,它受到您的硬件和应用程序以及应用程序/用户正在执行的操作的限制。您需要对您的服务器进行压力测试。
希望有帮助。
In theory, it can be any number until the TCP connections run out.
In reality, it is limited by your hardware and your applications and what the application/users are doing. You need to do stress test for your server.
hope it help.