RubyGems Navigation menu

in-parallel 0.1.12

The other Ruby librarys that do parallel execution all support one primary use case - crunching through a large queue of small tasks as quickly and efficiently as possible. This library primarily supports the use case of needing to run a few larger tasks in parallel and managing the stdout to make it easy to understand which processes are logging what. This library was created to be used by the Beaker test framework to enable parallel execution of some of the framework's tasks, and allow people within thier tests to execute code in parallel when wanted. This solution does not check to see how many processors you have, it just forks as many processes as you ask for. That means that it will handle a handful of parallel processes well, but could definitely overload your system with ruby processes if you try to spin up a LOT of processes. If you're looking for something simple and light-weight and on either linux or mac (forking processes is not supported on Windows), then this solution could be what you want.

Gemfile:
=

install:
=

Versions:

  1. 1.0.1 August 24, 2023 (22 KB)
  2. 1.0.0 March 15, 2023 (22 KB)
  3. 0.1.17 February 07, 2017 (20.5 KB)
  4. 0.1.16 February 06, 2017 (20 KB)
  5. 0.1.15 August 08, 2016 (20 KB)
  6. 0.1.12 July 14, 2016 (16.5 KB)
Show all versions (18 total)

Development Dependencies (2):

bundler ~> 1.11
rake ~> 10.0

Owners:

Authors:

  • samwoods1

SHA 256 checksum:

=

Total downloads 2,755,794

For this version 34,153

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: