title: Message lost on a long delivery path using java nio
body: <p>In my project, a sequence of messages are forwarded from A to B to ... to K. The delivery path is 11 nodes. The socket is java nio. The problem is that some messages are lost and not received at the last node. What is the reason of this exception? Thanks.</p>
  
  <hr>
  
  <p>I am using TCP and only use java nio library. The exception: for example, at the starting node, there is 2999 messages published. At the ending node, there is 2995 messages received. Several messages are lost along the delivery path. </p>
  
  <p>If I send the message very fast, eg, the interval time is 50 ms, the number of loss messages are increasing. </p>
  
  <p>How to debug this problem?</p>
  
  <p>Thank you.</p>