You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Miron Aseev (JIRA)" <ji...@apache.org> on 2017/04/24 09:25:04 UTC
[jira] [Created] (SSHD-742) Are there any ways to improve
performance?
Miron Aseev created SSHD-742:
--------------------------------
Summary: Are there any ways to improve performance?
Key: SSHD-742
URL: https://issues.apache.org/jira/browse/SSHD-742
Project: MINA SSHD
Issue Type: Question
Affects Versions: 1.4.0
Environment: https://github.com/maseev/sshd-echo
Reporter: Miron Aseev
Priority: Minor
I created a simple client-server application (see the environment section) that uses MINA SSHD library, just to test the performance. I was quite disappointed because the throughput was particularly low - 2400 requests per second on average on localhost.
According to Java Flight Recorder, the application spends most of its time in ChannelPipedInputStream/ChannelPipedOutputStream on different monitor objects.
Is there any way I can improve the performance? The documentation is kinda sparse and doesn't mention any tuning suggestions. Maybe I can avoid using these piped streams somehow or set some parameters related to the transport layer?
All suggestions are greatly appreciated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)