New module namespace

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default New module namespace

    Greetings,

    Having carefully perused the list at

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

    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

    talexb@gmail.com Guest

  2. Similar Questions and Discussions

    1. Namespace for new module: HTML::Template::HTX?
      Hi y'all, Some time ago (in the summer of 2002) I've written a module for handling HTML template files, kinda like the HTML::Template and related...
    2. TL1 module namespace
      I'm looking for feedback on the most suitable namespace for a `TL1' module I've written. Google searches for existing TL1 modules have showed up...
    3. A module looking for a namespace
      Hi folks, I'm writing a perl extension to interface the language with CHMLib (using XS), wich will give to the language the ability to handle...
    4. Module namespace query
      I would like to upload a module I've written to CPAN. I've got a PAUSE account, but I need to work out a module name. It's an interface to the...
    5. Module namespace question: PatchReader
      I have uploaded PatchReader, a utility to efficiently read and manipulate patches of all sorts, as well as output the modified patches in various...
  3. #2

    Default Re: New module namespace

    [email]talexb@gmail.com[/email] wrote:
    > Greetings,
    >
    > Having carefully perused the list at
    >
    > [url]http://www.cpan.org/modules/00modlist.long.html[/url]
    >
    > 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
    harryfmudd [AT] comcast [DOT] net Guest

  4. #3

    Default Re: New module namespace

    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

    talexb@gmail.com Guest

  5. #4

    Default Re: New module namespace

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

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

    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

    talexb@gmail.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139