Click here to get back home

New module namespace

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
New module namespace talexb 05-17-2006
Posted by talexb on May 17, 2006, 8:38 pm
Please log in for more thread options


Greetings,

Having carefully perused the list at

http://www.cpan.org/modules/00modlist.long.html

I am reasonably certain that the module I'd like to submit (pending
approval from higher up) does not yet exist, nor does a suitable
namespace exist.

I have written a module that provides a single API for both the Sun
Grid Engine (qsub, qstat and all that) and a local fork/wait module
that runs jobs in a subprocess, communicating through pipes. My
employer uses this as part of a web application that we run either in
Grid Engine or Standalone configurations, and I think it might be of
use to other folks.

One of the tasks my web application runs is called a Scheduler; it
queries a database and submits pending jobs to be run. The current name
fot this module is JobQueue, consisting of two modules,
JobQueue::GridEngine and JobQueue::ForkingLayer. I'd like to use the
same names in CPAN.

Alex Beamish (talexb)
Toronto, Ontario


Posted by harryfmudd [AT] comcast [DOT] on May 17, 2006, 9:23 pm
Please log in for more thread options


talexb@gmail.com wrote:
> Greetings,
>
> Having carefully perused the list at
>
> http://www.cpan.org/modules/00modlist.long.html
>
> I am reasonably certain that the module I'd like to submit (pending
> approval from higher up) does not yet exist, nor does a suitable
> namespace exist.
>
> I have written a module that provides a single API for both the Sun
> Grid Engine (qsub, qstat and all that) and a local fork/wait module
> that runs jobs in a subprocess, communicating through pipes. My
> employer uses this as part of a web application that we run either in
> Grid Engine or Standalone configurations, and I think it might be of
> use to other folks.
>
> One of the tasks my web application runs is called a Scheduler; it
> queries a database and submits pending jobs to be run. The current name
> fot this module is JobQueue, consisting of two modules,
> JobQueue::GridEngine and JobQueue::ForkingLayer. I'd like to use the
> same names in CPAN.
>
> Alex Beamish (talexb)
> Toronto, Ontario
>

The list you refer to is by its own third line a year and a half old,
and only contains registered modules at that. Have you looked at
search.cpan.org? Or browsed Randy Kobes' search?

Given that this is Sun-specific, if you're starting a new top-level
namespace, maybe it should start with Sun::. Or be part of the Solaris::
stuff if applicable, by analogy with VMS::Queue, which is an interface
to that OS's queue manager.

Tom Wyant

Posted by talexb on May 18, 2006, 9:48 am
Please log in for more thread options


Thanks for the tip on Randy's search .. I'll look through that.

This is not Sun or Solaris specific .. we're using the Sun Grid Engine,
running on a bunch of Red Hat 9 boxes (and soon, fsome FC4 boxes). The
fork/wait is strictly Linux.

Alex


Posted by talexb on May 18, 2006, 11:35 am
Please log in for more thread options


I've spent some time looking at Randy Kobes' site at

http://kobesearch.cpan.org/htdocs/faqs/cpan-search.html

And have found the following modules:

Parallel::Queue - for running coderefs in parallel
POE::Component::JobQueue - appears to do what my module does, but
within the POE ecosystem, using worker sessions and tasks
Net::Download::Queue - for downloading files in parallel
Queue::Base - an OO stack
Heap::Priority - an OO stack w/ priority
IPC::DirQueue - a queueing implementation
Data::RefQueue - another queueing system
Thread::Queue::Multiplex - thread safe publish/subscribe queue

These modules are in the same ball park, but none of them are really
close. Probably the best namespace to piggyback on would be Parallel,
so my modules would be Parallel::GridEngine and Parallel::ForkingLayer
.. although I could change that last to ForkWait or even SubProcess.

Alex


Similar ThreadsPosted
TL1 module namespace May 12, 2005, 1:13 pm
A module looking for a namespace March 4, 2005, 11:15 pm
Module namespace query July 23, 2004, 12:36 pm
Namespace for new module: HTML::Template::HTX? May 13, 2005, 7:17 pm
Module namespace: Tie::Flatfile::Array February 25, 2007, 11:55 pm
Namespace for Z-machine parse/translate module July 29, 2004, 10:02 am
Choosing a good namespace for a module to upload to CPAN July 14, 2004, 1:46 pm
Namespace Recommendation for Abuse Reporting Utilities Module February 26, 2006, 10:53 pm
Scary module base namespace proposal: Metaweb August 16, 2007, 5:51 pm
SGF namespace August 1, 2005, 5:18 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap