You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently transitioning from using JSCH to Apache Mina for our SFTP calls. My application requires high scalability and performance, as it handles teh transmission over 50,000 files totaling 5 TB in size.
Previously we utilized JSCH but we have now adopted to Apache Mina.
However, we have observed the degradation in the throughput of file transmission.
Actual behavior
We noticed Approximately 3 to 4 X times slowdown in Apache Mina compared to JSCH. However, I'm unsure if there are other factors contributing the to the issue. I'm curious if there have been any parallel benchmarking or testing conducted to similar style.
On a side note, we are expecting logging is set to DEBUG and that is contributing to some slowness.
Expected behavior
We expected Apache mina is much faster than any older sftp java libraries.
Relevant log output
No response
Other information
No response
The text was updated successfully, but these errors were encountered:
Why should a newer library be much faster? It's the same protocol. If both are programmed correctly, they should have about the same performance.
My local tests show that with INFO logging Apache MINA SSHD has about the same performance for uploads and downloads of small or large files as JSch, and both are competitive with OpenSSH. In all three timing is linear with file size.
DEBUG logging does slow down things quite a bit. In particular I would expect Apache MINA SSHD to log much more than JSch.
It's not a good idea to run a production application with DEBUG logging on by default.
Version
2.11.0
Bug description
We are currently transitioning from using JSCH to Apache Mina for our SFTP calls. My application requires high scalability and performance, as it handles teh transmission over 50,000 files totaling 5 TB in size.
Previously we utilized JSCH but we have now adopted to Apache Mina.
However, we have observed the degradation in the throughput of file transmission.
Actual behavior
We noticed Approximately 3 to 4 X times slowdown in Apache Mina compared to JSCH. However, I'm unsure if there are other factors contributing the to the issue. I'm curious if there have been any parallel benchmarking or testing conducted to similar style.
On a side note, we are expecting logging is set to DEBUG and that is contributing to some slowness.
Expected behavior
We expected Apache mina is much faster than any older sftp java libraries.
Relevant log output
No response
Other information
No response
The text was updated successfully, but these errors were encountered: