vendredi 4 décembre 2015

Approach to follow for synchronization of data in C#

I would like to know what approach I should follow for the following use case in my application developed in C#.

I would have a website hosted on two different servers with different databases. I have to develop an application in which the user will select some particular data of one server to be synced with other server.

E.g. If user selects 5 rows of data and does a sync, only those 5 rows of data should be sent to other server and they should show up on other website as well.

And approach should be like user will create one job and that job will be having some task ( task would be like number of rows selected i.e. if user select 5 rows then that job will have 5 tasks).

And moment the user selects sync that job should start. Again this job can configurable means if user selected that this job should be synced after every 5 minutes then that job should be run every 5 minutes as that rows of data will be getting changed every second.

User can run number of task at one time. User can see the progress of every job and its task. User can even cancel the job, task and as well pause the task.

I tried to find similar approach if followed in any project but didn't found that.

Would really appreciate someone help.

Aucun commentaire:

Enregistrer un commentaire