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. Design and Architecture
  4. Communication mechanism

Communication mechanism

Scheduled Pinned Locked Moved Design and Architecture
question
5 Posts 3 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.
  • R Offline
    R Offline
    rupeshkp728
    wrote on last edited by
    #1

    Suppose there are two separate systems connected to each other just by a common storage say a hard disk then what can be the ways we communicate between the two systems?

    A H 2 Replies Last reply
    0
    • R rupeshkp728

      Suppose there are two separate systems connected to each other just by a common storage say a hard disk then what can be the ways we communicate between the two systems?

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      IMO, a simple file read mechanism should be enough.

      WP7.5 Apps - XKCD | Calvin | SMBC | Sound Meter | Speed Dial

      R 1 Reply Last reply
      0
      • A Abhinav S

        IMO, a simple file read mechanism should be enough.

        WP7.5 Apps - XKCD | Calvin | SMBC | Sound Meter | Speed Dial

        R Offline
        R Offline
        rupeshkp728
        wrote on last edited by
        #3

        Thanks Abhinav for the reply. but how to sync the two process on the two systems reading a common memory say a file?

        A 1 Reply Last reply
        0
        • R rupeshkp728

          Thanks Abhinav for the reply. but how to sync the two process on the two systems reading a common memory say a file?

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          A publisher subscriber mechanism perhaps? As soon as a file is published (pushed to the local storage), all subscribers read the file and process that data. Just a thought. There might be other better ways of doing the same thing.

          WP7.5 Apps - XKCD | Calvin | SMBC | Sound Meter | Speed Dial

          1 Reply Last reply
          0
          • R rupeshkp728

            Suppose there are two separate systems connected to each other just by a common storage say a hard disk then what can be the ways we communicate between the two systems?

            H Offline
            H Offline
            H Brydon
            wrote on last edited by
            #5

            If the communication needs to be 2-way then I would suggest that each system (you seem to be describing 2 but there could be more) have its own private output file which is read by the other(s). Each system writes its 'output' info to the file which would be seen as 'input' to the other(s). This avoids problems with 2 or more programs trying to write to the same file.

            -- Harvey

            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