Hi ,

I am new to camel. I am trying to consume from ftp server to my local file 
folder but the consumption speed is really very slow.

Can you suggest the parameters which might help in tuning the performance .

My route is as follows -

ftps://ftpuser@192.168.164.130:21/files/100kbFiles?connectTimeout=60000&ftpClient.keyStore.file=.%2Fsrc%2Ftest%2Fresources%2Fwip.jks&ftpClient.keyStore.keyPassword=xxxxxx&ftpClient.keyStore.password=xxxxxx&localWorkDirectory=%2Ftmp&maximumReconnectAttempts=3&move=.done&passiveMode=true&password=xxxxxx&securityProtocol=SSL&soTimeout=60000]
To Endpoint - file://target/toFolder<file:///\\target\toFolder>

it is taking almost 15 minutes to consume 200 files of size 100kB each....

I also tried to implement this by Stream caching -

context.getStreamCachingStrategy().setSpoolDirectory("/tmp/cachedir");
                           
context.getStreamCachingStrategy().setSpoolThreshold(1024 * 102);
                           
context.getStreamCachingStrategy().setBufferSize(1024 * 1024 );

from Endpoint - 
ftps://ftpuser@192.168.164.130:21/files/100kbFiles?connectTimeout=60000&delay=3000&eagerMaxMessagesPerPoll=true&ftpClient.keyStore.file=.%2Fsrc%2Ftest%2Fresources%2Fwip.jks&ftpClient.keyStore.keyPassword=xxxxxx&ftpClient.keyStore.password=xxxxxx&maxMessagesPerPoll=200&maximumReconnectAttempts=3&move=.done&passiveMode=true&password=xxxxxx&securityProtocol=SSL&soTimeout=60000]

To Endpoint - file://target/toFolder<file:///\\target\toFolder>
it is also taking almost 15 minutes to consume 200 files of size 100kB each....

While when I am transferring 1 MB files in batch size 20 , it is only taking 1 
minute and 30 Seconds.

I am unable to understand why camel is slowing down.


Can you please suggest on what parameter I am missing which will improve the 
performance of FTP.

I am using camel 2.15.2.

Thanks,





The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com




--
View this message in context: 
http://camel.465427.n5.nabble.com/Consumption-of-Files-of-size-100-KB-in-a-batch-of-200-files-is-taking-16-minutes-tp5772138.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to