What I would like to accomplish: small programs running on various machines, accepting computing jobs.

This roughly fits what MPI and PVM's are all about, but both ( and other similiar solutions ) require relatively large pieces of software to be installed, and require rather lengthy configuration. (Also, I would expect problems when trying to run compute nodes on windoze machines)

What I've got in mind, is simple executable, possibly without dependencies, that just listens on some TCP port, accepts jobs, and returns results.

This needs not to be fast, nor efficient, main advantage should be ease of installation/configuration.

How do I think perl can solve this?

Well, the most important piece of puzzle would be PAR, that would solve 'wrapping whole computing mess into single file' problem.

And after that... at first I thought about Sandbox, but I think I'm too green to efficiently use it, right now what I've got in mind is XML::RPC paired with eval. After it's all running smoothly I'll think about sandboxing and security...

Maybe instead of fighting with secure sandboxing one should just stop thinking about it, set up some kind of access control and forget about it?

I looked a bit around, but haven't seen anyone doing something like this, is it because this problem is too big for single busy programmer to handle on his own?


In reply to Perl Grids by Eyck

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.