白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Microservices based operating system

專利號(hào)
US11930084B2
公開日期
2024-03-12
申請人
INTERNATIONAL BUSINESS MACHINES CORPORATION(US NY Armonk)
發(fā)明人
Balamurugan Srinivasan
IPC分類
H04L67/51; H04L41/0803; H04L41/5041; H04L67/133
技術(shù)領(lǐng)域
computer,upgrade,os,kernel,or,in,readable,tightly,database,routine
地域: NY NY Armonk

摘要

A method, computer program product, and computer system are provided. A microservice formats a request to a process management microservice and to another microservice to perform an operation on behalf of the microservice. The process management microservice validates the requested operation. Based on the requested operation being valid, process management sends the requested operation to the other microservice. The process management microservice updates the microservices registry with a status of the microservice and the other microservice. The microservice and the other microservice update their respective local status registries.

說明書

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
BACKGROUND

The present invention relates to computer systems, and more specifically to microservices based operating systems.

Currently, operating system components are tightly coupled which can make running multiple versions of applications or operating systems in an enterprise computer system challenging and costly. An upgrade to an application may require an upgrade to an operating system component, such as the Input/Output subsystem. However, the architecture of operating systems in current use does not provide for upgrading on a component basis only. As a consequence, an enterprise may risk delaying the operating system upgrade, or spend the time and financial resources when the risk is more than the enterprise can sustain.

It would be advantageous to provide an operating system based on a microservices architecture to improve systems availability, and more efficiently manage risk.

SUMMARY

A method is provided. A microservice formats a request to a process management microservice and to another microservice to perform an operation on behalf of the microservice. The process management microservice validates the requested operation. Based on the requested operation being valid, process management sends the requested operation to the other microservice. The process management microservice updates the microservices registry with a status of the microservice and the other microservice. The microservice and the other microservice update their respective local status registries.

Embodiments are further directed to computer systems and computer program products having substantially the same features as the above-described computer-implemented method.

權(quán)利要求

1
What is claimed is:1. A method, comprising:a microservice formatting a request to a process management microservice and to another microservice to perform an operation on behalf of the microservice;validating, by the process management microservice, the requested operation, wherein the validating comprises verifying in the microservices registry that a kernel version of the microservice is compatible with the another microservice and is available based on a state in a state database;based on the another microservice not being of a compatible kernel version of the microservice converting the requested operation by a converter module of the another microservice according to predefined configuration rules;based on the operation being valid, process management sending the requested operation to the another microservice; andupdating a microservices registry with a status of the microservice and the another microservice;based on the another microservice not being of a compatible kernel version of the microservice converting the requested operation by a converter module of the another microservice according to predefined configuration rules.2. The method of claim 1, where communication between microservices happens over a bidirectional API that corresponds in functionality to a system call in tightly coupled computer operating system.3. The method of claim 1, wherein the microservices registry is a centralized database comprising:state data of each microservice, wherein the state data includes whether a resource managed by the microservice is available, has contention, or has an error condition.4. The method of claim 3, wherein each microservice maintains a local registry of its state in addition to updating the microservices registry, and wherein the microservices registry is a single source of truth.5. The method of claim 1, further comprising: a computer operating system, wherein the computer operating system comprises a plurality of microservices that are interconnected by a bidirectional API, and wherein each of the plurality of microservices corresponds to a component in the operating system, and wherein each of the plurality of microservices is dynamically and independently upgraded.6. A computer program product, the computer program product comprising a non-transitory tangible storage device having program code embodied therewith, the program code executable by a processor of a computer to perform a method, the method comprising:a microservice formatting a request to a process management microservice and to another microservice to perform an operation;validating, by the process management microservice, the requested operation, wherein the validating comprises verifying in the microservices registry that a kernel version of the microservice is compatible with the another microservice and is available based on a state in a state database;based on the another microservice not being of a compatible kernel version of the microservice converting the requested operation by a converter module of the another microservice according to predefined configuration rules;based on the operation being valid, process management sending the requested operation to the another microservice; andupdating a microservices registry with a status of the microservice and the another microservice.7. The computer program product of claim 6, where communication between microservices happens over a bidirectional API that corresponds in functionality to a system call in tightly coupled computer operating system.8. The computer program product of claim 6, wherein the microservices registry is a centralized database comprising:state data of each microservice, wherein the state data includes whether a resource managed by the microservice is available, has contention, or has an error condition.9. The computer program product of claim 8, wherein each microservice maintains a local registry of its state in addition to updating the microservices registry, and wherein the microservices registry is a single source of truth.10. The computer program product of claim 6, further comprising: a computer operating system, wherein the computer operating system comprises a plurality of microservices that are interconnected by a bidirectional API, and wherein each of the plurality of microservices corresponds to a component in the operating system, and wherein each of the plurality of microservices is dynamically and independently upgraded.11. A computer system, comprising:one or more processors;a memory coupled to at least one of the processors;a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions of:a microservice formatting a request to a process management microservice and to another microservice to perform an operation;validating, by the process management microservice, the requested operation, wherein the validating comprises verifying in the microservices registry that a kernel version of the microservice is compatible with the another microservice and is available based on a state in a state database;based on the another microservice not being of a compatible kernel version of the microservice converting the requested operation by a converter module of the another microservice according to predefined configuration rules;based on the operation being valid, process management sending the requested operation to the another microservice; andupdating a microservices registry with a status of the microservice and the another microservice.12. The computer system of claim 11, where communication between microservices happens over a bidirectional API that corresponds in functionality to a system call in tightly coupled computer operating system.13. The computer system of claim 11, wherein each microservice maintains a local registry of its state in addition to updating the microservices registry, and wherein the microservices registry is a single source of truth in the configuration.14. The computer system of claim 11, further comprising: a computer operating system, wherein the computer operating system comprises a plurality of microservices that are interconnected by a bidirectional API, and wherein each of the plurality of microservices corresponds to a component in the operating system, and wherein each of the plurality of microservices is dynamically and independently upgraded.
微信群二維碼
意見反饋