tomcat性能相关

基于HTTP协议的Connector:

// 默认,性能最差

protocol=”HTTP/1.1″

// 使用java nio,性能很好

protocol=”org.apache.coyote.http11.Http11NioProtocol”

// 使用apr,通过jni调用系统io,性能也是很好

protocol=”org.apache.coyote.http11.Http11AprProtocol”

有时间需要测试nio与apr哪种性能更高。

https://code.google.com/p/psi-probe/

tomcat性能监测工具

 

 

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>