A European telecommunication service provider was required to use its short message service (SMS) and unified messaging service (UMS) to deliver short text messages to cell phone customers, and to notify them of their voicemail or email messages. The application needed to be distributed between two nodes—one in Milan, and one in Rome—in an active/active configuration.
HPE Shadowbase Solution: Homogeneous Active/Active Systems
Collision identification and resolution via relative replication are illustrated in Figure 1. The Rome and Milan databases are shown in an active/active, bi-directional configuration. If the Rome node experiences heavy traffic, update requests can be routed to the Milan node to balance processing. In this specific example, a cellular customer is connected to the Rome node, and a cell phone operator is connected to the Milan node, but, if a failure of one datacenter occurs, the cellular customer or cell phone operator’s requests can be routed to application on the other node.
In this example, the cellular customer purchases twenty minutes of credit, while at the same time and for the same customer account, the operator debits thirty minutes. If the new absolute values were replicated, a data collision would occur and the amount in the customer’s account would be incorrect on both systems. Instead, by replicating only the amount by which the account value was changed, the “delta”, “Credit: +20” and “Debit: -30”, when the delta is applied on each system, the value in the account remains correct on both systems. Thus, the figure shows how relative replication is used to resolve a data collision.