replicationdistributed-systemredundancy

Replication vs Redundancy


I am currently reading about Distributed Systems and I am facing two different terms which are described in a similar manner: Replication and Redundancy.

Can anyone explain each term in part?


Solution

  • The two terms are at the first look pretty similar, but there is a significant difference between them.

    The common part of the two terms is the fact that each of has something to do with more nodes/components/processes in a system.

    1. Redundancy - describes the fact that you have more than one node/component/process in a system and it's pretty useful for handling failovers. In the case that one of your nodes fail, another node in the system can take over and carry on. Redundancy can be:

    "Redundancy is the duplication of nodes, in case of some of them are failing"

    1. Replication - includes redundancy, but involves the copying of data from one node to another or the synchronization of state between nodes. An example of where replication is done is at the databases or MQs level that forms a cluster. Replication can be:

    "Replication is the synchronization of state between redundant nodes."