[ 
https://issues.apache.org/jira/browse/DIRMINA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562068#action_12562068
 ] 

David M. Lloyd commented on DIRMINA-518:
----------------------------------------

That's quite surprising, but looking at the openjdk codebase confirms it.  I'm 
very surprised that it is implemented this way - I assumed (silly me) that a 
gathering write would use a gathering write in the underlying OS, but I guess 
not.  Amazing!


> Support gathering writes
> ------------------------
>
>                 Key: DIRMINA-518
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-518
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>            Reporter: David M. Lloyd
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>
> It may be worthwhile to enhance the various processor implementations to 
> accept a Collection<IoBuffer> or IoBuffer[] and perform a gathering write 
> across all the collection members.  For datagram protocols, this would allow 
> messages to be composed without copying.  For stream protocols, this might 
> simply improve performance.  In addition, stream protocols could benefit from 
> doing gathering writes in general when there are many buffers queued up.

-- 
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