This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We have got a FTP processes that moves data from Linux to NT. It's now designed as a single threaded application. In near future we are likely to get more number of files for FTP'ing. Is there any design pattern or could any one tell me a good design, to convert this application as a multi-threaded one. so that the files can be ftp'd as soon as it comes to Linux.
What do you hope to gain from multi-threading? Isn't the transfer likely to be bounded by network bandwith?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Sep 28, 2004
What I thought was, by going though a multithreaded design, we can ftp multiple files at the same time. Each thread would take care of FTP'ing group of files and move it to a backup folder.