permaculture playing cards*
The moose likes Groovy and the fly likes use GPars to quicken simultaneous downloads? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "use GPars to quicken simultaneous downloads?" Watch "use GPars to quicken simultaneous downloads?" New topic
Author

use GPars to quicken simultaneous downloads?

Benjamin Weaver
Ranch Hand

Joined: Apr 08, 2003
Posts: 161
My groovy script reads a list of filePaths and downloads the files to a directory. As it is currently written it loops through the list. Basic stuff.

Would the use of GPars, say, of fork/join hasten this task? Would some kind of parallelism enable allocation of the downloading work to multiple processors? And should this be true, would I be able to preserve the order of processing guaranteed by a traditional loop?
 
 
subject: use GPars to quicken simultaneous downloads?
 
Similar Threads
JPopupMenu on a JTable Header Selection Problem
Downloads through servlets,only after authorization ?
tomcat installation
Cheating with Maven?
what java API handles ftp download/uplaod ?