Patent ID: 9053166
Filing Date: 2015-06-09
Classification: G06F

Abstract:
1. A computer-implemented method, comprising: in the computer having a processor and a memory coupled to the processor, the memory having program instructions stored thereon that, upon execution by the processor, cause the computer to dynamically vary a number of replicas of a database to protect users from data loss by: creating, by a partition manager, at least three replicas for the database; monitoring, via a load balancer coupled to the partition manager, a size of the database with respect to a first threshold, wherein the first threshold corresponds to a user-defined size of the database above which a fourth replica of the database is created, and wherein the first threshold is independent of a maximum size of the database; creating, by the partition manager, the fourth replica for the database in response to a determination that the size of the database is greater than the first threshold; monitoring, by the load balancer, the size of the database with respect to a second threshold, wherein the second threshold indicates an another user-defined size of the database below which the fourth replica of the database is deleted, and wherein the second threshold is smaller than the first threshold; and deleting, by the partition manager, the fourth replica in response to a determination that the size of the database is smaller than the second threshold to prevent frequent cycling between the number of replicas.