Using a combination of C, C++, Shell, Perl and/or Python I want to develop a system which allows a user to submit jobs to a queue (or queues). Jobs from the queue should be executed on one of a number of worker machines in an appropriate order.
The system should provide basic functionality. However in addition you may consider one or more of the following specific problems in more detail:
Suppor开发者_如何学Pythont for multiple users
Flexible specification of jobs
Interdependencies between jobs
Integration of job creation with existing package(s)
Cancelling Jobs
Smarter scheduling of jobs
Discovery of available machines
Varying capabilities of worker nodes
Multiple Operating Systems
Failure of worker hardware
Failure of the Job Execution(including hanging indefinitely)
Failure of the queue management machine(s).
I have some basic experience in C, C++ and mostly in Python. I am interested in providing basic functionality using this system. There is mainly theory on internet about all these but I can't find examples so as to see how it works. If anyone has info, sources, example code or anything which can help me I will really apreciate it.
Why do you try to reinvent wheels?
Use http://celeryproject.org/
精彩评论