Enhanced self-assembling and self-configuring microservices
Abstract
A method for managing systems with interrelated microservices with self-assembling and self-configuring microservices includes receiving at a first micro service a service request from a client. A determination is the made whether the first micro service is capable of processing the service request. If the first micro service is capable of processing the service requests, then processing the service request; if the first micro service cannot process the service request then routing the service request to a first stem service. The first stem service determines whether there is a second micro service that can process the service request. If the second micro service that can process the service requests exists, then forwarding the service request to the second micro service for processing. If there is no second micro service that can service the service requests then morphing the first stem service into a micro service that can service the service request.
Claims
exact text as granted — not AI-modifiedWhat is claimed:
1 . A method comprising:
routing a service request to a first stem service of a plurality of stem services disposed in a system when a first micro service of a plurality of micro services disposed in the system cannot process the service request; and if it is determined that there is no second micro service of the plurality of micro services that can process the service request, morphing the first stem service into a micro service that can process the service request.
2 . The method of claim 1 , further comprising establishing a minimum number of stem services to be active in the system.
3 . The method of claim 1 , further comprising determining a number of stem services active in the system.
4 . The method of claim 1 , further comprising determining if a number of stem services active in the system is less than a minimum number of stem services to be active in the system.
5 . The method of claim 1 , further comprising spinning up a stem service if a number of stem services active in the system is less than a minimum number of stem services to be active in the system.
6 . The method of claim 1 , wherein each of the plurality of micro services comprises a client routing component, a micro service directory component, or a process instantiation and control component.
7 . The method of claim 1 , wherein the morphing the first stem service into the micro service that can process the service request comprises loading rules stored in the first stem service.
8 . A system comprising:
one or more processors; and a memory coupled with the one or more processors, the memory storing executable instructions that when executed by the one or more processors cause the one or more processors to effectuate operations, the operations comprising:
routing a service request to a first stem service of a plurality of stem services disposed in the system when a first micro service of a plurality of micro services disposed in the system cannot process the service request; and
when it is determined that there is no second micro service that can process the service request, morphing the first stem service into a micro service that can process the service request.
9 . The system of claim 8 , wherein the operations further comprise establishing a minimum number of stem services to be active in the system.
10 . The system of claim 8 , wherein the operations further comprise determining a number of stem services active in the system.
11 . The system of claim 8 , wherein the operations further comprise determining if a number of stem services active in the system is less than a minimum number of stem services to be active in the system.
12 . The system of claim 8 , wherein the operations further comprise spinning up a stem service if a number of stem services active in the system is less than a minimum number of stem services to be active in the system.
13 . The system of claim 8 , wherein each of the plurality of micro services comprises a client routing component, a micro service directory component, or a process instantiation and control component.
14 . The system of claim 8 , wherein the morphing the first stem service into the micro service that can process the service request comprises loading rules stored in the first stem service.
15 . A non-transitory computer-readable medium having computer-executable instructions stored thereon which, when executed by a computer, cause the computer to perform a method comprising:
routing a service request to a first stem service of a plurality of stem services disposed in a system when a first micro service of a plurality of micro services disposed in the system cannot process the service request; and when it is determined that there is no second micro service that can process the service request, morphing the first stem service into a micro service that can process the service request.
16 . The non-transitory computer-readable medium of claim 15 , wherein the computer-executable instructions, when executed by the computer, cause the computer to establish a minimum number of stem services to be active in the system.
17 . The non-transitory computer-readable medium of claim 15 , wherein the computer-executable instructions, when executed by the computer, cause the computer to determine a number of stem services active in the system.
18 . The non-transitory computer-readable medium of claim 15 , wherein the computer-executable instructions, when executed by the computer, cause the computer to determine if a number of stem services active in the system is less than a minimum number of stem services to be active in the system.
19 . The non-transitory computer-readable medium of claim 15 , wherein the computer-executable instructions, when executed by the computer, cause the computer to spin up a stem service if a number of stem services active in the system is less than a minimum number of stem services to be active in the system.
20 . The non-transitory computer-readable medium of claim 15 , wherein the morphing the first stem service into the micro service that can process the service request comprises loading rules stored in the first stem service.Join the waitlist — get patent alerts
Track US2023082372A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.