Previous Topic: Multiwrite Groups

Next Topic: Enable Multiwrite Replication

How Multiwrite Groups Work

For each namespace partition, each group has one hub DSA. This is the DSA that accepts multiwrite requests from DSAs in other groups.

The following diagram shows a backbone with one namespace partition (Staff) across three regions:

Example showing the sequence of updates passed between three multiwrite groups

The diagram shows the following steps:

  1. Write to self (synchronous): A client sends an update request to a DSA, which applies the update to itself.
  2. Write to peers in group: If the local update succeeds, the DSA sends the request to its peers in the same group. If these updates succeed, the peers send confirmations back to the first DSA.
  3. Send response to client: When the first DSA has received confirmation from each peer in its region, it sends the confirmation response to the client.
  4. Write to hub DSAs in other groups (asynchronous): The first DSA sends the request to the hub DSAs in each of the other groups.
  5. Hub DSAs write to peers: Each hub DSA sends the request to the other DSAs in its group.

    The following steps are not shown in the diagram.

  6. Peer DSAs write to self: Each peer DSA makes the update.
  7. Peer DSAs send confirmation to hubs: Each peer DSA sends confirmation of the update to the hub DSA of their group.
  8. Hub DSAs send confirmation to the first DSA: Each hub DSA sends the confirmation response to the first DSA. This DSA has already sent confirmation back to the client, so the client is not affected by the slow links.
Example: A Backbone with Three Multiwrite Groups

A global company has directory hosts in North America, Central America, North Africa and Europe.

This diagram shows the speed of the network connections between the sites:

Map showing which sites are connected by slow and fast links

Sites 1, 2, 3, 4, and 5 are linked by fast connections. Sites 6, 7, 8, and 9 are also linked by fast connections.

However, these two groups of sites are connected by slow links. Also, Site 10 is only connected to other sites by slow links.

The directory designers decide to create the following groups:

Group A

Group B

Group C

Site 1, Site 2, Site 3, Site 4, Site 5

Site 6, Site 7, Site 8, Site 9

Site 10