Partition balancing in an on-demand services environment
First Claim
1. A method comprising:
- acquiring organization identifiers (orgIDs) for one or more relevant organizations of a plurality of organizations within a multi-organization on-demand services environment having multiple computing nodes, each of which have one or more partitions, wherein each relevant organization utilizes each of the partitions to which it is assigned, wherein each organization within the multi-organization on-demand services environment is uniquely identified by a single orgID, and wherein each partition is configured to be associated with multiple organizations of the plurality of organizations and is further configured to be executed by a single computing node of the multiple computing nodes;
determining a mapping of the orgIDs to the partitions within the multi-organization on-demand services environment, wherein the mapping is static and is set in association with creation of the orgID;
determining a mapping of partitions to computing nodes, where multiple partitions are mapped to each computing node, wherein the mapping of partitions to computing nodes is dynamic and can be modified at runtime;
determining, based on the acquired orgIDs, first resource consumptions for the relevant organizations;
determining second resource consumptions for each of the partitions based on the first resource consumptions for the relevant organizations and the mapping of the relevant organizations to the partitions;
generating a partition score for each of the partitions based on the second resource consumptions;
redistributing the partitions with corresponding relevant organizations among the computing nodes based on the partition scores.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for partition balancing. Organization identifiers (orgIDs) are acquired for one or more organizations within a multi-organization on-demand services environment having multiple nodes, each of which have one or more partitions. A mapping of the orgIDs to the partitions within the multi-organization on-demand services environment is determined. Resource consumption for the organizations is determined. Resource consumption for the partitions based on the resource consumption of the organization and the mapping of the organization to the partitions is determined. A score for the partitions based on the resource consumption is generated. The partitions are redistributed among the nodes based on the partition scores.
130 Citations
20 Claims
-
1. A method comprising:
-
acquiring organization identifiers (orgIDs) for one or more relevant organizations of a plurality of organizations within a multi-organization on-demand services environment having multiple computing nodes, each of which have one or more partitions, wherein each relevant organization utilizes each of the partitions to which it is assigned, wherein each organization within the multi-organization on-demand services environment is uniquely identified by a single orgID, and wherein each partition is configured to be associated with multiple organizations of the plurality of organizations and is further configured to be executed by a single computing node of the multiple computing nodes; determining a mapping of the orgIDs to the partitions within the multi-organization on-demand services environment, wherein the mapping is static and is set in association with creation of the orgID; determining a mapping of partitions to computing nodes, where multiple partitions are mapped to each computing node, wherein the mapping of partitions to computing nodes is dynamic and can be modified at runtime; determining, based on the acquired orgIDs, first resource consumptions for the relevant organizations; determining second resource consumptions for each of the partitions based on the first resource consumptions for the relevant organizations and the mapping of the relevant organizations to the partitions; generating a partition score for each of the partitions based on the second resource consumptions; redistributing the partitions with corresponding relevant organizations among the computing nodes based on the partition scores. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable medium having stored thereon instruction that, when executed by one or more processors, cause the one or more processors to:
-
acquire organization identifiers (orgIDs) for one or more relevant organizations of a plurality of organizations within a multi-organization on-demand services environment having multiple computing nodes, each of which have one or more partitions, wherein each relevant organization utilizes each of the partitions to which it is assigned, wherein each organization within the multi-organization on-demand services environment is uniquely identified by a single orgID, and wherein each partition is configured to be associated with multiple organizations of the plurality of organizations and is further configured to be executed by a single computing node of the multiple computing nodes; determine a mapping of the orgIDs to the partitions within the multi-organization on-demand services environment, wherein the mapping is static and is set in association with creation of the orgID; determine a mapping of partitions to computing nodes, where multiple partitions are mapped to each computing node, wherein the mapping of partitions to computing nodes is dynamic and can be modified at runtime; determine, based on the acquired orgIDs, first resource consumptions for the relevant organizations; determine second resource consumptions for each of the partitions based on first resource consumptions for the relevant organizations and the mapping of the relevant organizations to the partitions; generate a partition score for each of the partitions based on the second resource consumptions; redistribute the partitions with corresponding relevant organizations among the computing nodes based on the partition scores. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
at least one memory device; one or more hardware processing devices coupled with the at least one memory device, the one or more hardware processing devices configurable to acquire organization identifiers (orgIDs) for one or more relevant organizations of a plurality of organizations within a multi-organization on-demand services environment having multiple computing nodes, each of which have one or more partitions, wherein each relevant organization utilizes each of the partitions to which it is assigned, wherein each organization within the multi-organization on-demand services environment is uniquely identified by a single orgID, and wherein each partition is configured to be associated with multiple organizations of the plurality of organizations and is further configured to be executed by a single computing node of the multiple computing nodes, to determine a mapping of the orgIDs to the partitions within the multi-organization on-demand services environment, wherein the mapping is static and is set in association with creation of the orgID, to determine a mapping of partitions to computing nodes, where multiple partitions are mapped to each computing node, wherein the mapping of partitions to computing nodes is dynamic and can be modified at runtime, to determine, based on the acquired orgIDs, first resource consumptions for the relevant organizations, to determine second resource consumptions for each of the partitions based on first resource consumptions for the relevant organizations and the mapping of the relevant organizations to the partitions, to generate a partition score for each of the partitions based on the second resource consumptions, and to redistribute the partitions with corresponding relevant organizations among the computing nodes based on the partition scores. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification