Apache SSHD client performance

2016-08-16 Thread Nicola Ambrosetti Brolin
I have an application using apache SSHD to send files via sftp (with the SftpClient class). I have noticed that the performance was very poor and I made a simple test comparing apache SSHD with Jsch, which gives much better results (seven times faster!) comparable with the openssh implementation.

Re: Ensure sequential execution

2016-08-16 Thread Emmanuel Lécharny
Le 16/08/16 à 11:15, Simo Chiegang, Boris Arthur a écrit : > I guys, I have the following Problem: > > > - I defined a Server to handle some Json Strings. > > Acceptor a = new NioSocketAcceptor(); > > > > - I had some filters so: > > a.getFilterChain().clear(); // I removed all

Ensure sequential execution

2016-08-16 Thread Simo Chiegang, Boris Arthur
I guys, I have the following Problem: - I defined a Server to handle some Json Strings. Acceptor a = new NioSocketAcceptor(); - I had some filters so: a.getFilterChain().clear(); // I removed all filters a.getFilterChain().addLast("jsonString", new

RE: Ensure sequential execution

2016-08-16 Thread Simo Chiegang, Boris Arthur
Thanks, this answer my question! -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Tuesday, August 16, 2016 11:20 AM To: users@mina.apache.org Subject: Re: Ensure sequential execution Le 16/08/16 à 11:15, Simo Chiegang, Boris Arthur a écrit : > I guys, I have

Use another Object type with TextLineEncoder

2016-08-16 Thread Simo Chiegang, Boris Arthur
Hi, I have a Client that use a TextLineCodecFactory to send Message. So I think normally I must sometimes like that when I want to send a Message: ioSession.write(message); // where message is from type String Now, can I do something like that inside ? ioSession.write(request) // where request