locked
Partial Synchronization RRS feed

  • Question

  •  

    Hi.

     

    I have an application that must perform a partial Synchronization between the server and client. During an especific period of time the users will register their information and when the client user press a button, I must perform Synchronization, but only the information related to him (partial Synchronization).

     

    How can I do that? Help me please.

     

    Thanks.

    Friday, January 30, 2009 8:07 PM

Answers

  • There are two ways you can achive this.

    The first is to define a "scope" where a scope is"all items that user x has permissions on". The server replica should be able to handle multiple scopes. Each time it syncs with a client, it syncs items only in that scope and maintains one instance of knowledge per scope.

    The other way is to do a filtered sync (look at row filtering in the sync docs), where the filter would be "all items that user x has permissions on".

    In the first way, the server would store a knowledge per scope, and in the second way the size of the client knowledges would be proportional to the number of items it syncs with the server.

    Would the clients ever sync with each other? Or is this a hub-spoke model?
    Sunday, February 1, 2009 5:30 AM
    Moderator