Poison Pill Prevention in Distributed Consensus Protocols

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Consensus protocols in distributed systems can propagate erroneous data, known as 'poison pills,' which can render the system unreliable and inoperable, despite being valid from the protocol's perspective but invalid for applications.

Innovation Solution

Implementing application-level logic in conjunction with consensus protocols to validate proposed changes to data, ensuring they are valid for both the protocol and the application, thereby preventing the acceptance of invalid changes and potential system failures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If consensus protocols are implemented to ensure data consistency in distributed systems, then data consistency across nodes is improved, but erroneous data (poison pills) can still propagate throughout the system causing reliability degradation

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem reliability
Core Design Contradiction:
Stability of the object's compositionVSReliability

Solution Approach 1:

The patent applies preliminary action by performing application-level validation checks on proposed data changes before they are committed through the consensus protocol. Nodes evaluate whether proposed changes would result in valid application states ahead of time, preventing poison pills from being propagated throughout the distributed system while still maintaining consensus protocol benefits

Inventive Principle:
Principle #10Preliminary action

2Ease of operation

If consensus protocol validation alone is used to accept data changes, then protocol compliance is ensured, but application-level validity cannot be guaranteed leading to potential system failures

Engineering Contradiction:
Improveprotocol complianceVSAvoidapplication validity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent merges protocol-level validation with application-level validation into a unified decision-making process. Nodes perform both consensus protocol compliance checks and application-specific validity evaluations, combining both validation layers to determine whether to accept or reject proposed data changes, thereby ensuring both protocol compliance and application validity

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10331511B1Poison pill prevention for consensus protocols
Publication Date: 2019.06.25 AMAZON TECH INC
  • US10331511B1 patent drawing
  • US10331511B1 patent drawing
  • US10331511B1 patent drawing

AI summary

A distributed system uses a consensus protocol to maintain a data set shared by nodes of the distributed system. When a change is proposed to the data set, the change must pass multiple tests, including a test regarding the validity of the proposed change according to the consensus protocol and a test regarding the validity of the proposed change according to an application that utilizes the data set. As a result, poison pills that could harm operation of the distributed system are prevented from being accepted, regardless of whether such poison pills would satisfy any conditions of the consensus protocol.