Chinaunix

标题: tomcat和jetty高并发连接时的内存消耗问题 [打印本页]

作者: tclwp    时间: 2008-06-10 09:57
标题: tomcat和jetty高并发连接时的内存消耗问题
http://cometdaily.com/2008/01/03/comet-gazing-memory-usage/
说道:
In summary, Jetty only allocates buffers to active connections and then only the minimal request header buffer during comet event waits. Large content buffers can be efficiently brought into action only for the short periods that they are actually needed and used
经测试,我发现在tomcat达到10000的并发连接时VIRT内存达到1.4G , RES有843M,jetty还不到100M,是实现机制的问题,有什么办法改善tomcat的表现没有?
作者: sunnyfun    时间: 2008-06-10 17:35
jetty对Comet这种长连接应用可是有专门优化的,tomcat可没优化过,不过可能有第三方jar包能弥补吧




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2