IP Library Granted Patent US 11,567,811
Granted Patent B2
US 11,567,811 · App. 17/034,220 · Granted Jan 31, 2023

Detecting multiple operator pattern services making conflicting resource modifications

Inventor: Aiden Keating (Waterford, IE)
Assignee: Red Hat, Inc.
G06F9/52G06F9/5027G06F9/542H04L41/5096
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 11,567,811
App. No.
17/034,220
Granted
Jan 31, 2023
Kind
B2
Abstract

Systems and methods for detecting multiple operator pattern services making conflicting resource modifications. An example method may comprise receiving, by a processing device, from a first computing process running on a computing platform, a first resource modification request to modify a resource of the computing platform; storing a resource modification record comprising an identification of the first computing process, an identification of the resource, a current state of the resource, and a modified state of the resource; receiving, from a second computing process running on the computing platform, a second resource modification request to modify the resource; determining, using the resource modification record, whether the second resource modification request conflicts with the first resource modification request; and responsive to determining that the second resource modification request conflicts with the first resource modification request, notify a managing process of the computing platform of a resource modification conflict.

Claims (47)

1. A method comprising:

receiving, by a processing device, from a first computing process running on a computing platform, a first resource modification request to modify a resource of the computing platform;

storing, in a memory, a resource modification record comprising an identification of the first computing process, an identification of the resource, a current state of the resource, and a modified state of the resource;

receiving, from a second computing process running on the computing platform, a second resource modification request to modify the resource;

determining, using the resource modification record, whether the second resource modification request conflicts with the first resource modification request; and

responsive to determining that the second resource modification request conflicts with the first resource modification request, notifying a managing process of the computing platform of a resource modification conflict with respect to the resource.

2. The method of claim 1 , wherein the first computing process implements an operator pattern service.

3. The method of claim 1 , further comprising generating resource modification record by determining a difference between the current state of the resource and the modified state of the resource, converting the difference to a list of deterministic values that represent one or more elements of the difference, and mapping the list of deterministic values to the identification of the resource and the identification of the first computing process.

4. The method of claim 1 , further comprising receiving a third resource modification request from the first computing process, wherein the third resource modification request comprises equivalent modifications as the first resource modification request.

5. The method of claim 1 , further comprising;

determining a time period between the first resource modification request and the second resource modification request; and

triggering notifying the managing process responsive to the time period being less than a predetermined threshold.

6. The method of claim 1 , wherein the managing process implements at least one of a node manager or a cluster manager.

7. The method of claim 1 , wherein the resource modification record comprises an attribute-value pair.

8. A system comprising:

a memory; and

a processing device, operatively coupled to the memory, to:

receive, by a processing device, from a first computing process running on a computing platform, a first resource modification request to modify a resource of the computing platform;

store, in the memory, a resource modification record comprising an identification of the first computing process, an identification of the resource, a current state of the resource, and a modified state of the resource;

receive, from a second computing process running on the computing platform, a second resource modification request to modify the resource;

determine, using the resource modification record, whether the second resource modification request conflicts with the first resource modification request; and

responsive to determining that the second resource modification request conflicts with the first resource modification request, notify a managing process of the computing platform of a resource modification conflict with respect to the resource.

9. The system of claim 8 , wherein the first computing process implements an operator pattern service.

10. The system of claim 8 , further comprising the processing device configured to:

generate resource modification record by determining a difference between the current state of the resource and the modified state of the resource, converting the difference to a list of deterministic values that represent one or more elements of the difference, and mapping the list of deterministic values to the identification of the resource and the identification of the first computing process.

11. The system of claim 8 , further comprising the processing device configured to:

receive a third resource modification request from the first computing process, wherein the third resource modification request comprises equivalent modifications as the first resource modification request.

12. The system of claim 8 , further comprising the processing device configured to:

determine a time period between the first resource modification request and the second resource modification request; and

trigger notifying the managing process responsive to the time period being less than a predetermined threshold.

13. The system of claim 8 , wherein the managing process implements at least one of a node manager or a cluster manager.

14. The system of claim 8 , wherein the resource modification record comprises an attribute-value pair.

15. A non-transitory computer readable medium comprising instructions, which when accessed by a processing device, cause the processing device to:

receive, by a processing device, from a first computing process running on a computing platform, a first resource modification request to modify a resource of the computing platform;

store, in a memory, a resource modification record comprising an identification of the first computing process, an identification of the resource, a current state of the resource, and a modified state of the resource;

receive, from a second computing process running on the computing platform, a second resource modification request to modify the resource;

determine, using the resource modification record, whether the second resource modification request conflicts with the first resource modification request; and

responsive to determining that the second resource modification request conflicts with the first resource modification request, notify a managing process of the computing platform of a resource modification conflict with respect to the resource.

16. The non-transitory computer readable medium of claim 15 , wherein the first computing process implements an operator pattern service.

17. The non-transitory computer readable medium of claim 15 , further comprising the processing device configured to:

generate resource modification record by determining a difference between the current state of the resource and the modified state of the resource, converting the difference to a list of deterministic values that represent one or more elements of the difference, and mapping the list of deterministic values to the identification of the resource and the identification of the first computing process.

18. The non-transitory computer readable medium of claim 15 , further comprising the processing device configured to:

receive a third resource modification request from the first computing process, wherein the third resource modification request comprises equivalent modifications as the first resource modification request.

19. The non-transitory computer readable medium of claim 15 , further comprising the processing device configured to:

determine a time period between the first resource modification request and the second resource modification request; and

trigger notifying the managing process responsive to the time period being less than a predetermined threshold.

20. The non-transitory computer readable medium of claim 15 , wherein the managing process implements at least one of a node manager or a cluster manager.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2021
From: KEATING, AIDEN
To: RED HAT, INC.
Reel/Frame 056802/0570 →
Continuity (1)
Related Publication 20220100585A1 · Mar 31, 2022