0.0
No commit activity in last 3 years
No release in over 3 years
When work is in a simple queue, this library allows easily spreading the work over multiple processes on the same server communicating with UNIX sockets. Only tested on Ruby 1.8.7 (REE)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

parallel_work

Spread work over multiple processes on the same server, with a central work queue.

Installation

gem install parallel_work

Example Usage

require "parallel_work"

work = (1..400).to_a

ParallelWork.process work, 8 do |data|
  puts data
  sleep rand
end