Categories

Albums

Shots

Pictures of things possibly worth looking at.
12 June 2012
1 images in album
2012_06_13/P6123751.jpg

Emblems

Powered By Jaws Project
Powered By Apache HTTP Server
Powered By MySQL
Supports RSS
Powered By RSS Lounge
















Alpha Launch of Parallel::Supervisor Perl Module

Update (Aug 23): Fixed a test for Win32 and clarified documentation. Updated the URL below to point to a local copy of the latest revision.
Update (Aug 22): I made some major revisions over the weekend and submitted this to CPAN. I updated the URL below to point to a local copy of the latest revision.
---------------------------------------------------------------

I'm currently looking for advice before submitting my code to CPAN and unleashing it upon the world, but the alpha version of my first module is ready. I wrote it to scratch an itch for a project - none of the other solutions seemed to do quite what I wanted, and some were overkill.

From the readme:
Parallel-Supervisor version 0.01
================================

This module was written to provide a simple way to manage tasks run
in parallel using any of a number of techniques, such as fork(), or
any of the other Parallel modules. It simplifies managing a collection
of processes and provides a uni-directional pipe to allow the child
to communicate with the parent. It is not intended or replace more
sophisticated solutions such as POE, Proc::Launcher, or Supervisor.


Your Parallel::Supervisor object essentially holds a collection of
structs representing the children, and provides methods for setup,
access, and teardown of child tasks.


Please see the perldoc for more details.
The current release can be downloaded here:
Parallel-Supervisor-0.03.tar.gz
Also available by doing:
  svn co https://secure.26a.net/svn/projects-kevin/perl/lib/Parallel-Supervisor/

If you would like to help, please download and install - or at least run `make test` and let me know if any tests fail on your platform. (If so, please provide details!) Any feedback is welcome. I am still unsure whether the module is named properly - it is certainly very different from the Supervisor module, so it might better be named Parallel::Juggler or Proc::Manager or something. Thoughts?
Trackback URI: http://www.26a.net/index.php/trackback/17

# Re: Alpha Launch of Parallel::Supervisor Perl Module

klync, <webmaster@26a.net> / 20 August 2010  
avatar

15:50 < rindolf> klync: I should note that I hate returning flattened hashes from functions. Returning a single hash-ref is much better, IMO.

Leave a Comment



Write the captcha code you are seeing.

Comment XML feeds: RSS | Atom