I'm using Apache Camel SFTP component in my project, having a use case like send up to 1000 (<50 KB) files to a remote FTP server every second, but our code seems struggling to do that overtime. We are keeping FTP connection open for reuse.
Is there any way in which we can improve the file transfer performance by opening multiple connections to the same host, something like maxConnectionsPerHost
, maxTotalConnections
?