Facilitating equitable distribution of thread resources for job types associated with tenants in a multi-tenant on-demand services environment
First Claim
1. A database system-implemented method, comprising:
- tracking, by the database system, resource usage associated with a plurality of job types requested by one or more tenants in a multi-tenant environment;
calculating, by the database system, a deficiency factor suffered by a job type associated with a tenant, wherein the deficiency factor is based on an actual usage and an expected usage of resources by the job type, wherein the deficiency factor indicates deficiency in usage of the resources by the job type such that the deficiency corresponds to the actual usage of the resources by the job type being lower than the expected usage assigned to the job type by measuring the usage over multiple predetermined segments of time, wherein the deficiency being temporary deficiency or chronic deficiency based on high latency in queuing time or high usage of the resources by one or more of the plurality of job types; and
enforcing, by the database system, an equitable distribution of the resources for the plurality of job types by adjusting a current distribution representing an inequitable distribution, wherein adjusting includes selectively lowering the high usage of the resources by the one or more job types until the deficiency factor is inconsequential such that the actual usage by the job type has increased to match the expected usage.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for facilitating a fair allocation and usage of thread resources for user messages according to one embodiment in an on-demand services environment. In one embodiment and by way of example, a method includes tracking resource usage associated with a plurality of messages performed and completed in response to requests placed by a user via a user interface at a computing device, where the tracking includes recording an amount of resources consumed by each completed message. The method may further include classifying the plurality of messages into job types based on the tracked resource usage associated with the plurality of messages, and enforcing, based on the classification of the messages, a message selection process to ensure equitable distribution of resources to subsequently received messages.
-
Citations
21 Claims
-
1. A database system-implemented method, comprising:
-
tracking, by the database system, resource usage associated with a plurality of job types requested by one or more tenants in a multi-tenant environment; calculating, by the database system, a deficiency factor suffered by a job type associated with a tenant, wherein the deficiency factor is based on an actual usage and an expected usage of resources by the job type, wherein the deficiency factor indicates deficiency in usage of the resources by the job type such that the deficiency corresponds to the actual usage of the resources by the job type being lower than the expected usage assigned to the job type by measuring the usage over multiple predetermined segments of time, wherein the deficiency being temporary deficiency or chronic deficiency based on high latency in queuing time or high usage of the resources by one or more of the plurality of job types; and enforcing, by the database system, an equitable distribution of the resources for the plurality of job types by adjusting a current distribution representing an inequitable distribution, wherein adjusting includes selectively lowering the high usage of the resources by the one or more job types until the deficiency factor is inconsequential such that the actual usage by the job type has increased to match the expected usage. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising a computing device having a memory device to store instructions, and a processing device to execute the instructions to facilitate a mechanism to perform operations comprising:
-
tracking, resource usage associated with a plurality of job types requested by one or more tenants in a multi-tenant environment; calculating, a deficiency factor suffered by a job type associated with a tenant, wherein the deficiency factor is based on an actual usage and an expected usage of resources by the job type, wherein the deficiency factor indicates deficiency in usage of the resources by the job type such that the deficiency corresponds to the actual usage of the resources by the job type being lower than the expected usage assigned to the job type by measuring the usage over multiple predetermined segments of time, wherein the deficiency being temporary deficiency or chronic deficiency based on high latency in queuing time or high usage of the resources by one or more of the plurality of job types; and enforcing an equitable distribution of the resources for the plurality of job types by adjusting a current distribution representing an inequitable distribution, wherein adjusting includes selectively lowering the high usage of the resources by the one or more job types until the deficiency factor is inconsequential such that the actual usage by the job type has increased to match the expected usage. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory machine-readable medium having stored thereon instructions which, when executed by a machine, cause the machine to perform operations comprising:
-
tracking resource usage associated with a plurality of job types requested by one or more tenants in a multi-tenant environment; calculating a deficiency factor suffered by a job type associated with a tenant, wherein the deficiency factor is based on an actual usage and an expected usage of resources by the job type, wherein the deficiency factor indicates deficiency in usage of the resources by the job type such that the deficiency corresponds to the actual usage of the resources by the job type being lower than the expected usage assigned to the job type by measuring the usage over multiple predetermined segments of time, wherein the deficiency being temporary deficiency or chronic deficiency based on high latency in queuing time or high usage of the resources by one or more of the plurality of job types; and enforcing an equitable distribution of the resources for the plurality of job types by adjusting a current distribution representing an inequitable distribution, wherein adjusting includes selectively lowering the high usage of the resources by the one or more job types until the deficiency factor is inconsequential such that the actual usage by the job type has increased to match the expected usage. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification