RubySource: Code Safari: Forks, pipes, and the Parallel gem

Thumbnail

A few weeks ago, I wrote an article about splitting out work to be done into threads to improve performance of a URL checker. A commenter noted that the parallel gem could be used to achieve the same result, which got me all curious. I investigated the gem and found that not only can it parallelize into threads, it also supports splitting out work into multiple processes . I wonder how that works

See the article here:
RubySource: Code Safari: Forks, pipes, and the Parallel gem

This entry was posted in Ruby on Rails Tutorials & Articles, Ruby Tutorials, Web Tech and tagged , , , , , , , , , . Bookmark the permalink.