Overview

Earlier, in the previous part we saw types of replication that are seen in Merge replication.

Here in part three we will be covering peer-to-peer replication.

Refer previous articles

Types of SQL Server Replication

Let’s see each type by an example so we will get a clear gist what each and every replication is doing, starting with Merge Replication.

Peer-To-Peer Replication

Example

The Best example which I can give you is Domino’s pizza. When you give a contact number at a particular locator you can go anywhere in the world and the next time you make an order you have to spell your number and data gets fetched. Here there are multiple servers having multiple databases that are kept synced. Concept of Load balancing in SQL server.
TIP

I have seen many clients want database to be kept synced across multiple locations. Especially in Banking Domains like Chennai, Mumbai and Kolkata. I advise them to use peer-to-peer replication. If you are having great infrastructure like servers, network bandwidth trust me you can play with replication you can setup multiple nodes multiple DB Server and every application points to different DB server even the managers will like the setup.
Architecture
Architecture
NOTE : THE DIAGRAMS OR ARCHITECTURE HAS BEEN DRAWN BY ME FROM MICROSOFT VISIO

TIP

Microsoft Visio Tool is an software mainly used for presentations or projecting ideas. I recommend you purchase it to draw diagrams pertaining to articles maintaining originality .

Just for the Info I am attaching ScreenShot of Microsoft Visio that how above diagram I had made,

diagram

Let’s Start

Logically it is advisable to multiple modes across different server. Here I am explaining Peer-To-Peer replication local server (SQL).

NOTE

To Configure and to check on your local PC you need to install SQL Server (2008, 2008R2, 2012, 2014 and so on). Express Edition will have less features in local PC.

Advantages and Disadvantages:

Advantages

Disadvantages

Conclusion:

This sums up SQL Server replication. I have almost covered all aspects of types of replication with examples with proper screenshots attached. If you have any query regarding replication feel free to ask.