Decentralized Replication Protocol for Microservice State Consensus
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In decentralized control plane systems, managing a growing number of micro-services with diverse data models, interfaces, and interaction models becomes complex, requiring deep system knowledge to identify and resolve runtime issues, and users face varying methods for interaction with limited observability and extensibility.
Innovation Solution
A replication protocol with consensus is implemented to manage service state across nodes, where a request is sent to an owner node, replicated to peer nodes, and verified, ensuring consistent state updates and responses to clients.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a system uses multiple independent micro-services with diverse data models and interfaces, then the system can have independent developmental and operational lifecycles for each service, but the complexity of administering the system increases significantly
Solution Approach 1:
The patent introduces a universal control plane that provides standardized service definition, deployment, and management capabilities across all micro-services. This control plane implements common interfaces and data models that work across diverse services, eliminating the need for administrators to learn service-specific complexities while maintaining independent service lifecycles.
Solution Approach 2:
The control plane acts as an intermediary layer between administrators and individual micro-services. It provides a standardized interface for service management, translating administrative operations into service-specific actions without exposing administrators to the underlying service complexity. This mediator pattern resolves the contradiction by hiding diversity behind a unified interface.
2Adaptability or versatility
If each service defines its own interfaces and interaction models, then services can be independently developed and deployed, but users face varying methods to interact with the system with limited observability
Solution Approach 1:
The control plane implements a universal interaction model that provides consistent interfaces for users to access all micro-services. This includes standardized authentication, authorization, and service invocation mechanisms that work across all services regardless of their individual implementations, while services maintain their independent development cycles.
3Adaptability or versatility
If the system proliferates multiple service technologies with different transports and serialization formats, then services can be independently implemented, but administrators must possess deep system knowledge to identify runtime issues
Solution Approach 1:
The control plane serves as a mediator that standardizes communication between administrators and services. It provides unified monitoring, logging, and diagnostic capabilities that work across all service technologies, eliminating the need for administrators to understand each service's specific transport and serialization implementations while maintaining implementation flexibility.
Data Source
AI summary
A method of replicating service state among a plurality of nodes in a computer system includes sending a request for a service to an owner node, the owner node being selected based on the service targeted by the request; receiving a completion of the request after execution of a handler of a service instance on the owner node, where the service instance is an instance of the service and the completion indicates that the handler successfully updated a state of the service on the owner node; replicating the updated state of the service as a proposed state among a plurality of peer nodes and receiving replies from the plurality of peer nodes about verification of the proposed state; and providing a response to the request, from the owner node, for transmission to a client that originated the request, the response being generated based on the replies.


