Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use GPars to quicken simultaneous downloads?

 
Benjamin Weaver
Ranch Hand
Posts: 161
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic