Distributed State Composer for Flexible Consistency Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In distributed computing systems, achieving consistent and consensus views of shared state across multiple entities is challenging due to the lack of flexible consistency models and the inability to define different consistency and consensus semantics independently for each element of state.
Innovation Solution
A mechanism that allows for flexible definition of consistency and consensus models for each element of state, enabling multiple views with varying consistency and consensus properties to be derived simultaneously, using a method that generates composed views of state in a distributed computing system through reliable multicast protocols, and composers that perform operations like union, intersection, and maximum/minimum on state fields.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a single consistency model is applied to the entire distributed system, then implementation is simpler, but flexibility and adaptability for different state elements are reduced
Solution Approach 1:
The patent segments the distributed state into multiple independent state elements, each capable of having its own consistency model. This allows different consistency semantics to be defined for different state elements independently, providing flexibility without requiring a completely complex system-wide mechanism. Each state element can be managed with appropriate consistency semantics tailored to its specific requirements.
Solution Approach 2:
The patent implements dynamic consistency models where the consistency semantics for each state element can be configured and changed independently. This dynamic approach allows the system to adapt consistency requirements based on the specific needs of different state elements and operational contexts, rather than being locked into a static system-wide consistency model.
2Adaptability or versatility
If multiple consistency models are supported simultaneously, then adaptability improves, but system complexity and difficulty of management increase
Solution Approach 1:
The patent creates a universal consistency management mechanism that can handle multiple consistency models through a common framework. This universal approach allows the system to support various consistency semantics (such as strong consistency, eventual consistency, causal consistency) through a single unified mechanism, making the system adaptable without proportionally increasing operational complexity.
Solution Approach 2:
The patent manages different consistency models by changing parameters and configurations within a unified framework rather than implementing separate mechanisms for each model. By parameterizing the consistency semantics, the system can switch between different consistency models and state representations efficiently, maintaining ease of operation while supporting multiple consistency approaches.
3Measurement precision
If fine-grained consistency control is implemented for each state element, then precision and adaptability improve, but computational overhead and system complexity increase
Solution Approach 1:
The patent divides the distributed state into fine-grained state elements that can be independently managed with specific consistency semantics. This segmentation enables precise control over consistency at the element level, allowing the system to define consistency requirements with high granularity without requiring overly complex management mechanisms, as each element can be handled independently.
Solution Approach 2:
The patent applies different consistency semantics locally to different state elements based on their specific requirements. This local quality approach allows each state element to have its own tailored consistency model, achieving high precision in consistency control where needed, while avoiding the application of complex consistency mechanisms to all state elements uniformly, thus reducing overall system complexity.
4Reliability
If consensus mechanisms are added to achieve detectable consistency, then reliability of consensus improves, but system complexity and processing overhead increase
Solution Approach 1:
The patent merges the consistency management and consensus detection functions into a unified mechanism. By combining these functions, the system achieves reliable consensus detection without the overhead of completely separate consensus protocols. The same infrastructure used for maintaining consistency is leveraged to detect consensus states, reducing overall system complexity while improving reliability.
Solution Approach 2:
The patent creates a universal mechanism that serves both consistency maintenance and consensus detection purposes. This multi-functional approach allows the system to derive consensus views from the same consistency infrastructure, achieving reliable detectable consensus without adding the full complexity of dedicated consensus protocols, as the mechanism serves multiple functions simultaneously.
Data Source
AI summary
Methods and systems for managing shared state within a distributed system with varying consistency and consensus semantics are described. In one configuration, a computing device receives a first plurality of objects representing the state of a first item and a second plurality of objects representing the state of a second item. The computing device generates a composed view of the state of each of the first item and the second item. The resulting composed views are transmitted using a reliable multicast protocol.


