什麼是限制最大並發連線數? IIS? Windows 伺服器?

什麼是限制最大並發連線數? IIS? Windows 伺服器?

我在 IIS 上部署了一個 asp.net 應用程序,最近將 CPU 和記憶體升級了一倍,希望能夠支援更多並髮用戶。儘管如此,在我的負載測試中,伺服器似乎無法處理 100 個並發連線。此外,查看CPU和內存,負載測試期間僅使用了大約40%的資源!伺服器上、IIS 中或 machine.config 中是否有某個位置限制了伺服器一次的並發連線數?我已將其新增至 web.config 中:

<system.net>
    <connectionManagement>
        <add address="*" maxconnection="65535"/>
    </connectionManagement>
</system.net>

這是 machine.config:

<processModel enable="true" timeout="00:03:00" requestLimit="Infinite" requestQueueLimit="Infinite" maxWorkerThreads="10000" maxIoThreads="10000"/>

相關內容