Using remote shells is a common way to distribute tasks and possibly the least troublesome one, provided that your network consists of identical machines. Configuring your remote tasks can be interesting (for "frustrating" values of interesting) if you plan to run them across a heterogenous network.

I learned this the hard way while writing a POE based program to build testing environments and test software on several machines at once. They were selected to represent a wide spectrum of architectures and operating systems, which greatly complicated things.

You could also set up job servers on the machines where you want to run your analyses. A master control program could transmit jobs to them and receive back responses when jobs complete. If you're running this out of cron, the job servers could even send asynchronous replies by some other means (perhaps e-mail). POE's cookbook has two recipes for job daemons. One covers non-web application clients and servers. The other implements an interactive job server.

The cookbook also includes a few different ways to manage child processes. It should not be hard to adapt one of them to run tasks remotely.

-- Rocco Caputo


In reply to Re: Child Process Management and Distributed Systems by rcaputo
in thread Child Process Management and Distributed Systems by Tanalis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.