Computer Science, asked by jishavp5385, 1 year ago

Difference between act8ve replication and passive replication

Answers

Answered by shugu041098
1

In the distributed systems research area replication is mainly used to provide fault tolerance. The entity being replicated is a process. Two replication strategies have been used in distributed systems: Active and Passive replication


In active replication each client request is processed by all the servers. Active Replication was first introduced by Leslie Lamport under the name state machine replication. This requires that the process hosted by the servers is deterministic. Deterministic means that, given the same initial state and a request sequence, all processes will produce the same response sequence and end up in the same final state. In order to make all the servers receive the same sequence of operations, an atomic broadcast protocol must be used. An atomic broadcast protocol guarantees that either all the servers receive a message or none, plus that they all receive messages in the same order. The big disadvantage for active replication is that in practice most of the real world servers are non‐deterministic. Still active replication is the preferable choice when dealing with real time systems that require quick response even under the presence of faults or with systems that must handle byzantine faults.


In passive replication there is only one server (called primary) that processes client requests. After processing a request, the primary server updates the state on the other (backup) servers and sends back the response to the client. If the primary server fails, one of the backup servers takes its place. Passive replication may be used even for non‐deterministic processes. The disadvantage of passive replication compared to active is that in case of failure the response is delayed

Answered by StaceeLichtenstein
1

Difference between active replication and passive replication  is given below

Explanation:

  • In the active there are many server are present that are evaluated the client request where as the passive replication there is a single server which evaluated the request of many client .
  • The active replication is fast as compare to the passive replication because there are many server in the active replication .
  • The active replication uses the deterministic approach where as the passive replication uses the non deterministic approach.

Learn More :

  • brainly.in/question/1884999
Similar questions