Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Distributed Processing

Distributed Processing

Scheduled Pinned Locked Moved C#
businessquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DarrollWalsh
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • D DarrollWalsh

      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

      S Offline
      S Offline
      Skippums
      wrote on last edited by
      #2

      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

      D 1 Reply Last reply
      0
      • S Skippums

        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

        D Offline
        D Offline
        DarrollWalsh
        wrote on last edited by
        #3

        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

        S 1 Reply Last reply
        0
        • D DarrollWalsh

          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

          S Offline
          S Offline
          Skippums
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups