Patent ID: 9582371
Date: 2017-02-28
CPC Classifications: G06F,H04L

Claim:
1. A method for balancing latency and consistency requirements during data replication, the method comprising: defining, by one or more processors, a set of strategies representative of different types of inconsistencies between a first database and a second database, wherein the different types of inconsistencies vary with respect to details of a particular replication technology; specifying, by one or more processors, a latency threshold at which a first type of inconsistency is allowed, based on a user input of a cost related to the latency threshold, wherein the type of inconsistency is selected from the set of strategies; determining, by one or more processors, that a requested replication exceeds the latency threshold; and moving, by one or more processors, data into a target database, wherein latency is dynamically balanced with data consistency, based on testing an algorithm from a set of algorithms, recording statistics that the algorithm provides about a rate of replication, determining the algorithm provides a best rate of replication, and using the algorithm to move the data into the target database, wherein the algorithm is retested if latency remains above the latency threshold.