最新消息:

nio

Tomcat7并发优化

Tomcat7并发优化

admin 10年前 (2014-11-06) 5566浏览 0评论

Tomcat 常用运行模式有3种,分别为 bio,nio,apr.生产环境建议用apr,详细请看 tomcat的三种模式(bio、nio、apr) 安装APR [root@aikaiyuan ~]# yum -y install apr apr-de...

tomcat的三种模式(bio、nio、apr)

tomcat的三种模式(bio、nio、apr)

admin 10年前 (2014-11-06) 12628浏览 0评论

tomcat的运行模式有3种 1)bio 默认的模式,性能非常低下,没有经过任何优化处理和支持. 2)nio  利用java的异步io护理技术,noblocking IO技术. 想运行在该模式下,直接修改server.xml里的Connector节点...