×

Dynamic resource management of a pool of resources for multi-tenant applications based on sample exceution, query type or jobs

  • US 10,713,092 B2
  • Filed: 01/02/2018
  • Issued: 07/14/2020
  • Est. Priority Date: 01/02/2018
  • Status: Active Grant
First Claim
Patent Images

1. A method for dynamic resource management for multi-tenant applications in a distributed environment of a computational computer cluster that stores and analyzes big data, the method is performed by an information processing device comprising at least one computer processor, the method comprising the steps of:

  • determining, as each new tenant is onboarded, an initial allocation of resources from a resource pool to a plurality of tenants, each tenant having an anticipated query type or jobs, wherein the resource pool supports different services and the initial allocation of the resources is a percentage of each of the different services based on the anticipated query type or jobs;

    wherein the anticipated query type or jobs are associated with application categories comprising at least one of batch, streaming, and archiving;

    assigning to each tenant of the plurality of tenants the initial allocation of resources;

    determining a baseline tenant memory requirement for each of the plurality of tenants based on a sample execution or an Explain Plan of a query type or jobs;

    determining a maximum number of concurrent queries or jobs for each of the plurality of tenants based on an application category requirement for an application executed by the tenant;

    executing the anticipated query type or jobs;

    monitoring an actual number of the concurrent queries or jobs running, and when the actual number of the concurrent queries is the same as the determined maximum number of concurrent queries and additional queries are waiting;

    determining an actual memory requirement and an actual virtual core requirement for each of the plurality of tenants based on the baseline memory requirement and the monitored actual number of the concurrent queries or jobs; and

    updating the initial allocation of the resources with additional resources based on the determining until queries are completed; and

    allocating the resources to each of the plurality of tenants based on the updated initial allocation.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×