压力测试工具 |
|
jmeter |
http |
stree |
硬件测试 |
mysqlslap |
数据库压力测试工具 |
tomcat配置参数优化
1.注释8009
<!--
<Connector protocol="AJP/1.3"
address="::1"
port="8009"
redirectPort="8443" />
-->
2.tomcat工作模式修改 nio2
<Connector port="8080" protocol="org.apache.coyote.http11.Http11Nio2Protocol"
connectionTimeout="20000"
server="nginx"
redirectPort="8443" />
3.调整线程数量
<Connector port="8080" protocol="org.apache.coyote.http11.Http11Nio2Protocol"
maxThreads="500"
acceptCount="500"
minSpareTheads="10"
connectionTimeout="20000"
server="nginx"
redirectPort="8443" />
####4.禁止dns反向解析
enable