Details
-
Question
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.4.0
-
None
-
None
Description
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.