IP Library Granted Patent US 9,990,232
Granted Patent B2
US 9,990,232 · App. 14/876,632 · Granted Jun 5, 2018

Quality of service tagging for computing jobs

Inventor: Huamin Chen (Westboro, MA)
Assignee: Red Hat, Inc.
G06F9/5027G06F9/45558G06F2009/4557
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,990,232
App. No.
14/876,632
Granted
Jun 5, 2018
Kind
B2
Abstract

A processing device receives a job request to allocate one or more resources in a resource environment to a job. The job is related to an application. The job request specifies the job using a first description language. The processing device extracts one or more tags from the job request. The one or more tags describes handling parameters of the job and features of the application. The one or more tags are in a second description language different from the first description language. The processing device allocates one or more resources in the resource environment to the job in view of the one or more tags.

Claims (46)

1. A method comprising:

receiving, by a processing device, a job request to allocate one or more resources in a resource environment to a job, the job being related to an application, the job request specifying the job using a first description language;

extracting one or more tags from the job request, the one or more tags describing at least one of a handling parameter of the job or a feature of the application, wherein the one or more tags are in a second description language different from the first description language, wherein the second description language is in a declarative tag format with language that describes the at least one of the handling parameter or the feature of the application without quantifying a specific quantity of resources to be used in the resource environment;

translating the one or more tags into a resource requirement in a second format that can be processed by a job scheduler executing by the processing device, wherein the translating comprises using mapping information that maps the one or more tags into the resource requirement that can be processed by the job scheduler; and

allocating, by the job scheduler, one or more resources in the resource environment to the job in view of the resource requirement, wherein allocating one or more resources in the resource environment to the job in view of the one or more tags comprises:

determining whether one or more tags indicate data for the job is secure data;

instantiating a container for the job if one or more tags indicate that the data for the job is not secure data; and

instantiating a virtual machine for the job if one or more tags indicate that the data for the job is secure data.

2. The method of claim 1 , wherein the one or more tags are received from a job submission system that requests jobs for container-based applications.

3. The method of claim 1 , wherein the one or more tags are embedded in metadata of the job request, the metadata being in the second description language different from the first description language.

4. The method of claim 1 , wherein the one or more tags in the job request are selected from a set of tags defined by a system administrator of the resource environment.

5. The method of claim 1 , further comprising:

creating a group of job requests, where the job requests in the group are a sub-set of job requests from a plurality of job requests having at least one matching tag; and

allocating one or more same resources in the resource environment to the group of job requests.

6. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:

receive, by a processing device, a job request to allocate one or more resources in a resource environment to a job, the job being related to an application, the job request specifying the job using a first description language;

extract one or more tags from the job request, the one or more tags describing at least one of a handling parameter of the job or a feature of the application, wherein the one or more tags are in a declarative tag format with language that describes the at least one of the handling parameter or the feature of the application without quantifying a specific quantity of resources to be used in the resource environment, wherein the one or more tags do not specify a resource type of a container or a virtual machine to be used for the job request;

determine whether to instantiate a container or a virtual machine for the job in view of the one or more tags in the declarative format; and

allocate one or more resources in the resource environment to instantiate the container or the virtual machine for deploying the application for the job, wherein, to determine whether to instantiate a container or a virtual machine for the job, the processing device is to:

determine whether one or more tags indicate data for the job is secure data;

instantiate the container for the job if the one or more tags indicate that the data for the job is not secure data; and

instantiate the virtual machine for the job if the one or more tags indicate that the data for the job is secure data.

7. The non-transitory computer-readable storage medium of claim 6 , wherein the processing device is further to:

access mapping information that maps the one or more tags to a plurality of resource requirements; and

translate the one or more tags into the plurality of resource requirements via the mapping information.

8. The non-transitory computer-readable storage medium of claim 6 , wherein the one or more tags are embedded in metadata of the job request, the metadata being in a second description language different from the first description language.

9. The non-transitory computer-readable storage medium of claim 6 , wherein the one or more tags in the job request are selected from a set of tags defined by a system administrator of the resource environment.

10. The non-transitory computer-readable storage medium of claim 6 , wherein the processing device is further to:

create a group of job requests, where the job requests in the group are a sub-set of job requests from a plurality of job requests having at least one matching tag; and

allocate one or more same resources in the resource environment to the group of job requests.

11. A system comprising:

a memory; and

a processing device operatively coupled to the memory, to:

receive a job request to allocate one or more resources in a resource environment to a job, the job being related to an application, the job request specifying the job using a first description language;

extract one or more tags from the job request, the one or more tags at least one of a handling parameter of the job or a feature of the application, wherein the one or more tags are in a declarative tag format with information to describe the at least one of the handling parameter or the feature of the application without specifying a specific quantity of resources to be used in the resource environment;

translate the one or more tags into a resource requirement in a second format that can be processed by a job scheduler executing by the processing device, wherein, to translate the processing device is to use mapping information that maps the one or more tags into the resource requirement that can be processed by the job scheduler; and

allocate, by the job scheduler, one or more resources in the resource environment to the job in view of the resource requirement, wherein, to allocate one or more resources in the resource environment to the job in view of the one or more tags, the processing device is to:

determine whether one or more tags indicate data for the job is secure data;

instantiate a container for the job if one or more tags indicate that the data for the job is not secure data; and

instantiate a virtual machine for the job if one or more tags indicate that the data for the job is secure data.

12. The system of claim 11 , wherein the one or more tags are received from a job submission system that requests jobs for container-based applications.

13. The system of claim 11 , wherein the one or more tags are embedded in metadata of the job request, the metadata being in a second description language different from the first description language.

14. The system of claim 11 , wherein the one or more tags in the job request are selected from a set of tags defined by a system administrator of the resource environment.

15. The system of claim 11 , wherein the processing device is further to:

create a group of job requests, where the job requests in the group are a sub-set of job requests from a plurality of job requests having at least one matching tag; and

allocate one or more same resources in the resource environment to the group of job requests.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 14, 2015
From: CHEN, HUAMIN
To: RED HAT, INC.
Reel/Frame 036793/0445 →
Continuity (1)
Related Publication 20170097851A1 · Apr 6, 2017