Ultra low latency in cluster application

dralves davidralves at gmail.com
Tue Feb 24 20:31:33 EST 2009


Hi
  I'm currently  writing a cluster application that handles streams of data,
and I'm using netty as the fw for async delivery. The application's data is
very time sensitive so even though I need both latency and throughput if I
have to choose I'll choose latency.
  The application resides in a cluster of servers where each node accepts
connections from multiples clients (not that many at this point, max 10
clients) each message arrives is processed and then there is an independent
(as in it might be to another machine), async reply. At first I started with
the NIO sockets, witch held good thoughput but as latencies increased over
time (reaching some whopping 60secs until i stopped the tests). Then I tried
the Oio wich held also good thoughput but had lower latencies. Still the
latency is increasing over time, slower but still increasing (27 secs at the
moment of this post)(server machine under 100% cpu) and I have ran out of
ideas.
I flush the buffers on the client side every 10 messages (around 1500bytes)
and have set tcp no delay to true.
Can anyone help me?
Best Regards
David Alves
-- 
View this message in context: http://n2.nabble.com/Ultra-low-latency-in-cluster-application-tp2381448p2381448.html
Sent from the Netty User Group mailing list archive at Nabble.com.




More information about the netty-users mailing list