http://www.perlmonks.org?node_id=814666


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:

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)