Servlet的IO吞吐瓶颈在哪里?为什么测下来只有3M bytes 左右?# Java - 爪哇娇娃
d*r
1 楼
Servlet的IO吞吐瓶颈在哪里?为什么测下来只有3M bytes 左右?
想测一下Tomcat servlet 的输出能力,就写了如下代码段:
1. Server: P4 3.0G, 1G DDR400 memory
输出一个100M bytes的http 文本。servlet key code segment 如下:
想测一下Tomcat servlet 的输出能力,就写了如下代码段:
1. Server: P4 3.0G, 1G DDR400 memory
输出一个100M bytes的http 文本。servlet key code segment 如下: