Previous Topic: Multiwrite Replication

Next Topic: Recovery in Multiwrite

How Multiwrite Replication Works

Multiwrite replication sends updates in real time to all other DSAs in the same group or region. When a client makes an update request, that update is applied immediately to the local DSA, and then to all other DSAs. The client receives a confirmation response only after all DSAs have responded.

Example: A Simple Multiwrite System

The following diagram shows these steps:

  1. The client sends an update request to the directory.

    DSA 1 receives the request and immediately applies the update to itself.

  2. DSA 1 sends the update request to its peers, DSA 2 and DSA 3.
  3. DSA 2 and DSA 3 each apply the update to itself, and then send an update response to DSA 1.
  4. After receiving an update response from both peers, DSA 1 sends an update confirmation to the client.

    Any client can now query any DSA and it gets the same response, because the update has been made to all DSAs.

    How multiwrite replication works