Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Simply because it's topical for me so I'm thinking about it, but does touch on a number of different areas, yet is fairly self contained, you could think about writing a build management system. We have a system (written in C++) that accepts email instructions to perform some particular task. The task may be tagged (in the email) as repeating at some interval, or as starting at some specified time (setting up a nightly build for example).

On my to do list is to convert this C++ app to Perl and add facilities for distributing tasks over multiple computers. My idea is that the current email address remains and is used as it is currently. However it gets polled by all of the build machines. When a build machine picks up an email, it pulls the tasks out and sends them off to a task list email address. Any machine that is available to do some work then picks up the highest priority task from the list and gets to work.

Obviously you don't have to use an email system to manage the task list, although that is a pretty light weight way to do it. You can simulate multiple computers by simply running multiple instances of the script on one computer. You can write a small script to simulate multiple users requesting tasks at random intervals and with random priorities. Plenty of scope to have fun. :)

I'm not suggesting this as a "You should write this for me" task, but simply because it seems to fill most of your requirements and could be useful to the community in general if you get that far with it and are happy to release it.

DWIM is Perl's answer to Gödel

In reply to Re: Project suggestions by GrandFather
in thread Project suggestions by Andrew_Levenson

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-05-20 12:07 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (73 votes). Check out past polls.