Mechanism for a work node scan process to facilitate cluster scaling
Assigneesalesforce.com, inc.
InventorsYogesh Patel, Percy Mehta, Shardul Vikram, Mattia Padovani
Life of this patent
Estimating the term…
Abstract
A method and system that perform cluster node work assignments for tenants in a multi-tenant system. The method includes selecting a partition of a cluster tenant tracking structure having a hierarchical namespace and virtual nodes representing each tenant by a cluster node foreman controller, searching the selected partition for a tenant that is unlocked in the cluster tenant tracking structure, and initiating work for the tenant by the cluster node.
Claims21
A method of cluster node work assignment for tenants in a multi-tenant system, the method comprising:
- selecting, by a foreman controller of a cluster node, a partition of a cluster tenant tracking structure having a hierarchical namespace and virtual nodes representing each tenant of the multi-tenant system;
- searching the selected partition for a tenant of the multi-tenant system that is unlocked in the cluster tenant tracking structure;
- and
- initiating work for the unlocked tenant by the cluster node.
A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, will cause said processor to perform operations comprising:
- selecting, by a foreman of a cluster node, a partition of a cluster tenant tracking structure having a hierarchical namespace and virtual nodes representing each tenant of a plurality of tenants;
- searching the selected partition for a tenant, of the plurality of tenants, that is unlocked in the cluster tenant tracking structure;
- and
- initiating work for the unlocked tenant by the cluster node.
A computing device in a multi-tenant environment, the computing device comprising:
- a non-transitory machine-readable medium having stored therein a foreman controller of a cluster node;
- and
- a processor coupled to the non-transitory machine-readable medium, the processor to execute the cluster node and the foreman controller, the foreman controller to select a partition of a cluster tenant tracking structure having a hierarchical namespace and virtual nodes representing each tenant of the multi-tenant environment, search the selected partition for a tenant of the multi-tenant environment that is unlocked in the cluster tenant tracking structure, and initiate work for the unlocked tenant by the cluster node.
Dependencies are inferred from the claim text.