Hi Tee,<br><br>Keep-alive is ok. But in a lot of situation, we can not use keep-alive.<br><br>I will try to read your code and to see whether I could contribute some code:)<br><br>Thanks,<br><br>Jiming<br><br>&gt;Hi Jiming,<br>

&gt;<br>&gt;In non-keepalive connections, most time is spent on establishing and<br>&gt;closing connections, so I don&#39;t think there will be much difference in<br>&gt;performance.<br>&gt;<br>&gt;In keepalive connections, Netty is much faster than Tomcat according to<br>

&gt;your test result, although I&#39;m not sure what&#39;s your definition of &#39;much<br>&gt;faster.&#39;<br>&gt;<br>&gt;I think there&#39;s enough room for even further performance improvement in<br>&gt;Netty&#39;s HTTP codec as you said though.  Please feel free to post some<br>

&gt;patches if you found some hot spot and got a fix.<br>&gt;<br>&gt;Thanks,<br>&gt;Trustin<br>&gt;<br>&gt;Jiming Liu wrote:<br>&gt;&gt; Hi Tee,<br>&gt;&gt;<br>&gt;&gt; I tried to test the performance of Netty(3.2alpha3) and Tomcat, and<br>

&gt;&gt; dispointedly found that Netty is not much faster than tomcat as I expected.<br>&gt;&gt;<br>&gt;&gt; The result is here,<br>&gt;&gt; <a href="http://jiming.javaeye.com/blog/618026">http://jiming.javaeye.com/blog/618026</a><br>

&gt;&gt;<br>&gt;&gt; Today, I profiled the netty example by JProfiler and found that it is<br>&gt;&gt; possible to improve the performance.<br>&gt;&gt; following is partial result of JProfiler, wish could be useful.<br>&gt;&gt;<br clear="all">

谢谢<br><br>刘继明<br>