Wednesday, June 07, 2006

Master-Slave Replication Pattern


Data Patterns (Master-Slave Replication Pattern)

As we know there is a punch of data patterns and today we are going to discuss one of them (Master-Slave Replication Pattern).

Why do I need Master-Slave Replication Pattern?
You may need Master-Slave replication pattern if you have to synchronize data from the source to the target without transmitting back the data to the source (One-way synchronizing). This means the data will be copied to the target without regard to any updates occurred on the target since the last replication.

The following figure shows the Master-Slave Replication.


Acquire
Reads the content of the Replication Set (Data) from the source to get the ONLY the updated data.

Manipulate
Manipulating & preparing the Replication Set (Data) to be copy to the target. Usually this manipulation includes data type converting, concatenating and splitting fields (e.g. Extracting first name from a full name).

Write
Writing the manipulated data (from the previous step) to the target. This operation either overwrites the data on the target, or compares the data with the manipulated data and copy the updated data only.


Reference:
Microsoft Data Patterns

0 Comments:

Post a Comment

<< Home