Performance degradation when socket receive buffer is big.
----------------------------------------------------------

                 Key: DIRMINA-403
                 URL: https://issues.apache.org/jira/browse/DIRMINA-403
             Project: MINA
          Issue Type: Bug
          Components: Transport
    Affects Versions: 1.1.0, 1.0.3
            Reporter: Trustin Lee
            Assignee: Trustin Lee
            Priority: Minor
             Fix For: 1.0.4, 1.1.1


SocketIoProcessor always allocates a buffer whose size is same with the socket 
receive buffer size, which is often very big (e.g. 40kb).  Because the buffer 
is allocated for every read operation, the buffer allocation can often be a 
bottleneck because most applications don't fill the socket receive buffer that 
much.

One solution is to dynamically adjust the size of the read buffer instead of 
using the socket receive buffer size value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to