Could you post the code? Also, what was the size of each of your messages?<div><br></div><div>On a dual core box, at 1K messages, I am only able to do 76K messages per sec.</div><div><br></div><div>Thanks</div><div>Utkarsh<br>
<br><div class="gmail_quote">On Sat, Sep 12, 2009 at 9:27 PM, Huican Ping <span dir="ltr"><<a href="mailto:pinghuican@gmail.com">pinghuican@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hello netty users,<br>
<br>
I punched a simple netty server which decodes (FrameDecoder, checks its<br>
first and tailer bytes of the input) and returns message back with 55 bytes<br>
input on my 2way Woodcrest machine: 2 core-2-dual at Intel(R) Xeon(R) CPU<br>
5160 @3.00GHz<br>
<br>
The netty server can handle more than 190,000 msgs/sec with very short<br>
average response time (about 0.5 ms) for persistent connection case when I<br>
punch the server with 100 concurrent client threads.<br>
<br>
I got about 180,000 msgs/sec with about 0.28 ms avg response for persistent<br>
connection with 50 concurrent client threads.<br>
<br>
The client and server are different machines. They are in the same<br>
sub-network, but not directly connected on the switch. So the average<br>
response time can be really lower than above.<br>
<br>
client output:<br>
==============<br>
|active| message | response time (ms) |avg conn|succ rt|<br>
connection |<br>
time(ms)|thrds | sent| succ| fail| min | avg | max<br>
|time(ms)|(msg/s)|pend|estb|idle|<br>
10007 100 1863171 1863071 0 0.13 0.49 212.78 0.00<br>
186176.78 0 100 0<br>
20011 100 1901832 1901832 0 0.12 0.52 28.14 0.00<br>
190126.16 0 100 0<br>
30014 100 1904729 1904729 0 0.13 0.52 27.09 0.00<br>
190434.81 0 100 0<br>
40017 100 1901270 1901270 0 0.13 0.52 27.25 0.00<br>
190069.98 0 100 0<br>
50019 100 1906704 1906704 0 0.13 0.52 26.16 0.00<br>
190632.27 0 100 0<br>
60023 100 1906676 1906676 0 0.13 0.52 21.63 0.00<br>
190610.42 0 100 0<br>
<br>
It is really impressive, decent and amazing number. A big thanks goes to<br>
Trustin Lee for his amazing work on Netty<br>
<br>
Thanks<br>
Huican<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/190-000-msgs-sec-with-very-short-avg-response-time-about-0-5-ms-for-persistent-connection-case-when--tp3635215p3635215.html" target="_blank">http://n2.nabble.com/190-000-msgs-sec-with-very-short-avg-response-time-about-0-5-ms-for-persistent-connection-case-when--tp3635215p3635215.html</a><br>
Sent from the Netty User Group mailing list archive at Nabble.com.<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</font></blockquote></div><br></div>