Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Looking for a POE based distributed job scheduler

by jfroebe (Parson)
on Dec 28, 2009 at 21:44 UTC ( [id://814666]=note: print w/replies, xml ) Need Help??


in reply to Re: Looking for a POE based distributed job scheduler
in thread Looking for a POE based distributed job scheduler

thanks! :) Looks like that might help for part of it but... the more I think about this the more I want the p2p job scheduler.

One idea that looks like it might have hope is:

  • A message bus (possibly POE::Component::MessageQueue) that will allow job queuing, job statuses, etc to be communicated to the N nodes
  • Static job list, statuses, etc via a replicated db. Possibly using Net::CouchDB - this would also be used as the backend to provide statuses to a front end of some sort (web or similar).
  • Configuration of the peer job 'servers' via a simple ini file (Config::Simple)

Thoughts on this hair brained idea?

Jason L. Froebe

Blog, Tech Blog

  • Comment on Re^2: Looking for a POE based distributed job scheduler

Replies are listed 'Best First'.
Re^3: Looking for a POE based distributed job scheduler
by suaveant (Parson) on Dec 29, 2009 at 12:35 UTC
    My thoughts would be that you'd probably save yourself a lot of effort by setting up ssh keys on each system and doing all the work on the main site. That way you don't have to do nearly as much synchronization and maintaining of multiple running instances that all need to communicate. Just use remote ps calls, remote run your apps (which makes them local instances sort of) and check /proc/loadavg for system load info. Don't make things harder than you have to. Then the only actual hard part you need to write is the part that decides when to use which computer and how to decide your resource allocation. (my code also handles time based allocation i.e. don't run until at least 4pm)

                    - Ant
                    - Some of my best work - (1 2 3)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://814666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-23 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found