IP Library Granted Patent US 11,456,936
Granted Patent B2
US 11,456,936 · App. 17/185,315 · Granted Sep 27, 2022

Detection and cleanup of unused microservices

Inventor: Alissa Bonas (Raanana, IL)
Assignee: Red Hat, Inc.
H04L43/08H04L41/22H04L67/56
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,456,936
App. No.
17/185,315
Granted
Sep 27, 2022
Kind
B2
Abstract

Systems and methods for detection and cleanup of unused microservices. An example method comprises: identifying, by a processing device, a microservice in a running state; identifying a network proxy associated with the microservice; monitoring traffic between the network proxy and the network; determining that the network proxy has no traffic with the network during a window, wherein the window is a predetermined period of time or a predetermined amount of data that is sent to or from the network; and deleting the microservice and the network proxy.

Claims (47)

1. A method comprising:

identifying, by a processing device, a microservice in a running state;

identifying a network proxy associated with the microservice;

monitoring network traffic associated with the network proxy;

determining that the network proxy has no traffic within a detection window; and

deleting the microservice, the network proxy, and a container image associated with the microservice.

2. The method of claim 1 , wherein the detection window is a predetermined time window.

3. The method of claim 1 , wherein the detection window is a predetermined number of requests.

4. The method of claim 1 , wherein the network proxy performs one of:

address translation or protocol translation.

5. The method of claim 1 , wherein the network proxy routes requests associated with the microservice.

6. The method of claim 1 , wherein identifying the microservice in the running state further comprises:

determining that the microservice is on a list of running microservices.

7. The method of claim 1 , further comprising:

deleting an access point associated with the microservice.

8. The method of claim 1 , further comprising:

deleting a router service associated with the microservice.

9. A system comprising:

a memory;

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

identify a microservice in a running state;

identify a network proxy associated with the microservice;

monitor network traffic associated with the network proxy;

determine that the network proxy has no traffic within a detection window; and

delete the microservice, the network proxy, and a container image associated with the microservice.

10. The system of claim 9 , wherein the detection window is a predetermined time window.

11. The system of claim 9 , wherein the detection window is a predetermined number of requests.

12. The system of claim 9 , wherein the network proxy performs one of:

address translation or protocol translation.

13. The system of claim 9 , wherein the network proxy routes requests associated with the microservice.

14. The system of claim 9 , wherein identifying the microservice in the running state further comprises:

determining that the microservice is on a list of running microservices.

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

delete an access point associated with the microservice.

16. The system of claim 9 , wherein the processing device is further to:

delete a router service associated with the microservice.

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

identify a microservice in a running state;

identify a network proxy associated with the microservice;

monitor network traffic associated with the network proxy;

determine that the network proxy has no traffic within a detection window; and

delete the microservice, the network proxy, and a container image associated with the microservice.

18. The non-transitory computer-readable storage medium of claim 17 , wherein the detection window is provided by at least one of: a predetermined time window or a predetermined number of requests.

19. The non-transitory computer-readable storage medium of claim 17 , wherein identifying the microservice in the running state further comprises:

determining that the microservice is on a list of running microservices.

20. The non-transitory computer-readable storage medium of claim 17 , further comprising executable instructions that, when executed by the processing device, cause the processing device to:

delete at least one of: an access point associated with the microservice or a router service associated with the microservice.

Assignments (2)
CHANGE OF NAME Recorded Mar 3, 2026
From: RED HAT, INC.
To: RED HAT, LLC
Reel/Frame 074913/0759 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 25, 2021
From: BONAS, ALISSA
To: RED HAT, INC.
Reel/Frame 055420/0913 →
Continuity (2)
Continuation 16553564 · Aug 28, 2019
Related Publication 20210184951A1 · Jun 17, 2021