[ 
https://issues.apache.org/jira/browse/SSHD-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462685#comment-13462685
 ] 

Guillaume Nodet commented on SSHD-136:
--------------------------------------

I wonder if we could somehow leverage nio channels with the Pipe class and a 
selector instead of spawning threads.
We could maybe keep both APIs or a simple wrapper to ease the work for the user 
using blocking io.
                
> Reduce consumption of ClientInputStreamPump threads and NioProcessor threads. 
> ------------------------------------------------------------------------------
>
>                 Key: SSHD-136
>                 URL: https://issues.apache.org/jira/browse/SSHD-136
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Alexey Polbitsyn
>         Attachments: src-diff.zip, src.zip, SSHD-136.patch
>
>
> When using the library  to work with 1000 concurrent ssh connections, it 
> takes 1000 ClientInputStreamPump threads. 1 thread for 1 channel. It would be 
> nice to be able to configure this behavior, for example use 1 
> ClientInputStreamPump for all channels of sshclient or session.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to