我正在与100位用户进行压力测试。
<Connector port="7080" protocol="HTTP/1.1" maxThreads="1500"
connectionTimeout="20000" acceptCount="1000" maxConnections="1000"
minSpareThreads="80"
maxSpareThreads="160"
compression="on"
compressableMimeType="text/html,text/xml,text/plain"
redirectPort="8443" />
当我将maxThreads
m maxConnections
和acceptCount
全部更改为 1 时,我仍然获得相同的性能(70个用户后无响应)
我仅配置了另一个连接器AJP
<Connector port="7089" protocol="AJP/1.3" maxThreads="10500" redirectPort="8443" />