Service state management in a decentralized control plane of a computing system
First Claim
1. A method of managing a state of a service of a control plane in a computer system, comprising:
- executing a service host process of the control plane on a software platform of the computer system;
creating, by the service host process, a service object representing the service and a service document object representing the state of the service, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields;
modifying the service document object to update the state of the service by invoking a handler of the service object in response to a first request targeting the service, wherein the invoked handler updates one or more of the plurality of service document object fields with one or more new values of an updated state for the service in the first request, and sends a second request to an indexing service of the control plane after execution of the handler;
parsing, at the indexing service, at least a first portion of the service document object to designate data to be indexed and at least a second portion of the service document object to designate data to be persistently stored;
updating index data of an index stored in storage of the computer system with the designated data to be indexed and updating auxiliary data in the index with the designated data to be persistently stored.
2 Assignments
0 Petitions
Accused Products
Abstract
A method managing a state of a service of a control plane in a computer system includes: executing a service host process of the control plane on a software platform of the computer system; creating, by the service host process, a service object representing the service and a service document object representing the state of the service; modifying the service document object to update the state of the service; parsing at least a first portion of the service document to designate data to be indexed and at least a second portion of the service document to designate data to be persistently stored; and updating index data of an index stored in storage of the computer system with the data to be indexed and updating auxiliary data in the index with the data to be persistently stored.
52 Citations
17 Claims
-
1. A method of managing a state of a service of a control plane in a computer system, comprising:
-
executing a service host process of the control plane on a software platform of the computer system; creating, by the service host process, a service object representing the service and a service document object representing the state of the service, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields; modifying the service document object to update the state of the service by invoking a handler of the service object in response to a first request targeting the service, wherein the invoked handler updates one or more of the plurality of service document object fields with one or more new values of an updated state for the service in the first request, and sends a second request to an indexing service of the control plane after execution of the handler; parsing, at the indexing service, at least a first portion of the service document object to designate data to be indexed and at least a second portion of the service document object to designate data to be persistently stored; updating index data of an index stored in storage of the computer system with the designated data to be indexed and updating auxiliary data in the index with the designated data to be persistently stored. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system, comprising:
-
a hardware platform having a central processing unit (CPU), memory, and storage; a software platform executing on the hardware platform, the software platform includes a service host process of a control plane, the service host process executable by the CPU to; create a service object representing a service and a service document object representing state of the service, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields; modify the service document object to update the state of the service by invoking a handler of the service object in response to a first request targeting the service, wherein the invoked handler updated one or more of the plurality of service document object fields with one or more new values of an updated state for the service in the first request, and sends a second request to an indexing service of the control plane after execution of the handler; parse, at the indexing service, at least a first portion of the service document object to designate data to be indexed and at least a second portion of the service document object to designate data to be persistently stored; and update index data of an index stored in storage of the computer system with the designated data to be indexed and updating auxiliary data in the index with the designated data to be persistently stored. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable medium comprising instructions, which when executed in a computer system, causes the computer system to carry out a method of managing a state of a service of a control plane in a computer system, comprising:
-
executing a service host process of the control plane on a software platform of the computer system; creating, by the service host process, a service object representing the service and a service document object representing the state of the service, wherein the service document object includes a plurality of service document object fields and the state of the service includes a plurality of values for the plurality of service document object fields; modifying the service document object to update the state of the service by invoking a handler of the service object in response to a first request targeting the service, wherein the invoked handler updates one or more of the plurality of service document object fields with one or more new values of an updated state for the service in the first request, and sends a second request to an indexing service of the control plane after execution of the handler; parsing, at the indexing service, at least a first portion of the service document object to designate data to be indexed and at least a second portion of the service document object to designate data to be persistently stored; and updating index data of an index stored in storage of the computer system with the designated data to be indexed and updating auxiliary data in the index with the designated data to be persistently stored. - View Dependent Claims (17)
-
Specification