Distributed Processing
-
I've used the search function to look for articles but didn't find what I needed. I've been tasked with developing an application to run a simulation. The requirements are to allow one or more servers to run the simulation at the same time sharing the load. Are there any articles or books that can give me a headstart in designing this application? Thanks! - Darroll
Darroll
-
I've used the search function to look for articles but didn't find what I needed. I've been tasked with developing an application to run a simulation. The requirements are to allow one or more servers to run the simulation at the same time sharing the load. Are there any articles or books that can give me a headstart in designing this application? Thanks! - Darroll
Darroll
It depends on what you need help with. If you are looking for a way to efficiently split the workload, it will be hard to give you pointers without knowing the specific problem and how it can be easily divided into smaller tasks. If the problem is setting up the servers, how to connect to them, how to discover their current work loads, etc., then there is a lot of help to be had. Please be a bit more specific as to what kind of assistance you are looking for. Jeff
-
It depends on what you need help with. If you are looking for a way to efficiently split the workload, it will be hard to give you pointers without knowing the specific problem and how it can be easily divided into smaller tasks. If the problem is setting up the servers, how to connect to them, how to discover their current work loads, etc., then there is a lot of help to be had. Please be a bit more specific as to what kind of assistance you are looking for. Jeff
My main concern at the moment is how to manage objects between instances of the servers. The simulation takes multiple vehicles buildings and people. all doing various tasks. There will also be resources that get consumed and created. My thougts were to devide the work load via regions. This way I can segment the load based on the number of objects in a region by resizing the regions. The design of the object menagment and also the best way to transfer and manage objects is what I am looking for. Thanks! -- modified at 15:03 Tuesday 20th November, 2007
Darroll
-
My main concern at the moment is how to manage objects between instances of the servers. The simulation takes multiple vehicles buildings and people. all doing various tasks. There will also be resources that get consumed and created. My thougts were to devide the work load via regions. This way I can segment the load based on the number of objects in a region by resizing the regions. The design of the object menagment and also the best way to transfer and manage objects is what I am looking for. Thanks! -- modified at 15:03 Tuesday 20th November, 2007
Darroll
I would probably have both servers implement identical functionality, which is that either can be initially contacted with the full load. Then, that server delegates some work to the second machine. Use asynchronous web service calls with a delegate to return when the entire task is finished. The second machine can pass info back the same way (asynch calls). If security is an issue, encrypt and authenticate. Make sure that all your objects are serializable, and the easiest way to send would be via soap messages with the serialized object, or you can open a TcpConnection or SSL connection and get a stream from that. As far as object management goes, you will have to have two copies of each object: one on the client, and one on the server. If you find you don't need to keep an object, then pass it on a delete it. I feel like this isn't really helping at all, but I hope I am wrong and I have answered some of your questions. Jeff