in reply to Performance of FTP Transfer
That depends on the number and size of files which you are transferring. For example, if you have 10 files which require 10 minutes each to transfer, then 10 threads running simultaneously will indeed provide a performance boost. If, however, you have 10 files which take 1 second each to transfer, then the connection setup cost is likely greater than the transfer cost and multi-threading makes no sense.
There are some other considerations, such as socket and memory usage, if the number of files is large, though they are easily managed by limiting the number of threads.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Performance of FTP Transfer
by MidLifeXis (Monsignor) on Jul 22, 2009 at 15:23 UTC | |
by jrsimmon (Hermit) on Jul 22, 2009 at 15:33 UTC | |
|
Re^2: Performance of FTP Transfer
by shijumic (Novice) on Jul 22, 2009 at 15:09 UTC | |
by MidLifeXis (Monsignor) on Jul 22, 2009 at 15:31 UTC | |
by mzedeler (Pilgrim) on Jul 22, 2009 at 16:35 UTC | |
by jrsimmon (Hermit) on Jul 22, 2009 at 18:13 UTC |