How to get sync in real time ? RRS feed

  • Question

  • Hello,

    Is it possible to get a file or directory synchronized between 2 servers in real time ?

    Is Sync API designed to do this ? 
    If yes, could you describe me the mechanism  ?

    Thank you

    Tuesday, March 10, 2009 1:00 PM


  • Sync Framework is not meant to allow real-time synchronization between data sources.  Certainly you can build your solution to give near-real-time sync, but I don't expect that is what you are looking for.

    You can think of Sync Framework as a request based process.  There is some sort of applicaiton (typically) that calls the sync process (Orchestrator).  When called the orchestrator initiates sync between two locations, determines what has changed since the last sync and then executes the process.

    If you were to create an applicaiton that could constantly monitor the file system for changes and then call the Sync process whenever it detected a change, then this should give you near real time sync, however that process is not inherintly part of Sync Framework.

    Program Manager, Data Replication and Synchronization - http://msdn.microsoft.com/sync/
    Tuesday, March 10, 2009 6:37 PM