LOAD BALANCING WHEN REPLICATING ACCOUNT DATA
First Claim
1. A computer-implemented method in a distributed computing environment utilizing a processor and memory for identifying when to balance at least one processing load between nodes of the distributed computing environment, the method comprising:
- monitoring a workload assigned to a subject partition being hosted on a first node of a storage stamp, wherein the subject partition represents a key range of data for a particular storage account;
detecting a level of the subject partition'"'"'s workload has overcome a predefined threshold;
identifying the subject partition as a candidate for receiving a load-balancing operation, wherein the load-balancing operation comprises at least one of splitting, merging, or load balancing the subject partition; and
storing in a record, at least temporarily, an indication that the subject candidate is identified as a candidate for receiving a load-balancing operation.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention relate to invoking and managing load-balancing operation(s) applied to partitions within a distributed computing environment, where each partition represents a key range of data for a storage account. The partitions affected by the load-balancing operation(s) are source partitions hosted on a primary storage stamp and/or destination partitions hosted on a secondary storage stamp, where the primary and secondary storage stamps are located in geographically distinct areas and are equipped to replicate the storage account'"'"'s data therebetween. The load-balancing operation(s) include splitting partitions into child partitions upon detecting an increased workload as a result of active replication, merging partitions to form parent partitions upon detecting a reduction in workload as a result of decreased processing-related resource consumption, or offloading partitions based on resource consumption. A service within a partition layer of the storage stamps is responsible for determining when to invoke these load-balancing operation(s).
9 Citations
20 Claims
-
1. A computer-implemented method in a distributed computing environment utilizing a processor and memory for identifying when to balance at least one processing load between nodes of the distributed computing environment, the method comprising:
-
monitoring a workload assigned to a subject partition being hosted on a first node of a storage stamp, wherein the subject partition represents a key range of data for a particular storage account; detecting a level of the subject partition'"'"'s workload has overcome a predefined threshold; identifying the subject partition as a candidate for receiving a load-balancing operation, wherein the load-balancing operation comprises at least one of splitting, merging, or load balancing the subject partition; and storing in a record, at least temporarily, an indication that the subject candidate is identified as a candidate for receiving a load-balancing operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. One or more computer-storage media having computer-executable instructions embodied thereon, that when executed by a computing system having a processor and memory, cause the computing system to perform a method for triggering load-balancing operations on partitions of a storage account, the method comprising:
-
calculating a log size for a subject partition, wherein the subject partition represents a key range of the storage account hosted on a first partition server; calculating an average value of log sizes for one or more partitions within a common storage stamp as the subject partition, wherein the one or more partitions and the subject partition represent data of a common storage account; comparing the subject partition'"'"'s log size against the average value of log sizes calculated for the one or more partitions; upon comparison, invoking a load balancing operation when the subject partition'"'"'s log size meets the average value of log sizes adjusted by a predefined factor, wherein invoking the load-balancing operation comprises; (a) when the subject partition'"'"'s log size overcomes the average value of log sizes adjusted upward by the predefined factor, triggering a split of the subject partition into two or more child partitions;
or(b) when the subject partition'"'"'s log size falls below the average value of log sizes reduced by the predefined factor, triggering a merge between the subject partition and the one or more partitions to form a child partition. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A computer system within a distributed networking environment for controlling load balancing of partitions, the system comprising:
-
a primary storage stamp that includes one or more first partition servers that host one or more source partitions, wherein the one or more source partitions represent a key range of initial data associated with a storage account; a secondary storage stamp that includes one or more second partition servers that host one or more destination partitions, wherein the one or more destination partitions represent a key range of replicated data associated with the storage account, wherein the replicated data substantially minors content of the initial data, and wherein the one or more source partitions and the one or more destination partitions disagree in number; and a service within a partition layer of either the primary storage stamp or the secondary storage stamp, wherein the service acts to increase or decrease instances of the one or more source partitions or one or more destination partitions such that they more closely correspond in number. - View Dependent Claims (19, 20)
-
Specification