At work, we had a network of workstations to run finite element jobs. You submit the job, it goes into a queue, and then is executed on a specific machine based on memory and drive requirements.
I want to build the same type of system, but a rudimentary as possible.
Let's call one a Queue Manager and the others the Worker Bee's.
If the QM has a job, it will look for a Ready WB and send it the job input files and location to send the results. The WB's will have the applications installed to process the job.
All running XP Pro connected thru LAN.
Communication (synchronizing, semaphoring, mutexing, whatever...) is the issue. How to do it. Stoopid way is to merely use an empty file to indicate state. Problem is what to do if there is simmultaneous access of the file between the WB and the QM. There is probably a better way to do this.
The other issue is would there have to be a continuously running process on the WB to determine if a job had been sent to it? or, could the QM initiate the process on the WB to process the job?
I was just wondering if there is anything more elegant/efficient than empty files for doing the synchronizing?
If someone would like to enlighten me with the correct terms for this system and its components, I would appreciate that also.
Thanks
Tom
I want to build the same type of system, but a rudimentary as possible.
Let's call one a Queue Manager and the others the Worker Bee's.
If the QM has a job, it will look for a Ready WB and send it the job input files and location to send the results. The WB's will have the applications installed to process the job.
All running XP Pro connected thru LAN.
Communication (synchronizing, semaphoring, mutexing, whatever...) is the issue. How to do it. Stoopid way is to merely use an empty file to indicate state. Problem is what to do if there is simmultaneous access of the file between the WB and the QM. There is probably a better way to do this.
The other issue is would there have to be a continuously running process on the WB to determine if a job had been sent to it? or, could the QM initiate the process on the WB to process the job?
I was just wondering if there is anything more elegant/efficient than empty files for doing the synchronizing?
If someone would like to enlighten me with the correct terms for this system and its components, I would appreciate that also.
Thanks
Tom