Persistent Message Store Rules Engine for Distributed System Debugging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In distributed systems, abnormal terminations due to non-deterministic components make debugging challenging, as the same input can cause different states and outputs, requiring numerous executions to recreate faults, especially in service-oriented architectures.
Innovation Solution
Implementing a persistent message store that copies and stores messages across the system, allowing for efficient searching and debugging by recreating previous system states through stored message copies and using rules engines to manage and process search criteria.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a persistent message store is implemented to store message copies, then debugging efficiency is improved by enabling fault recreation, but device complexity increases due to additional storage and search mechanisms
Solution Approach 1:
The system performs preliminary action by continuously copying and storing messages in a persistent message store before faults occur. This allows the system to recreate previous states during debugging without requiring complex real-time reconstruction mechanisms, thereby improving debugging efficiency while managing complexity through proactive data preservation
Solution Approach 2:
The patent applies copying by creating and storing copies of messages in the persistent message store. These copies enable the system to reproduce previous execution states for debugging purposes, allowing developers to recreate faults and analyze system behavior without modifying the original deterministic execution path
2Difficulty of detecting and measuring
If search rules are added to the message store manager to enable efficient searching, then fault detection capability is improved, but device complexity increases due to additional rules processing
Solution Approach 1:
The system extracts and stores only the relevant message copies that meet specific search criteria in the persistent message store. By using search rules to filter and extract pertinent messages rather than storing and processing all messages, the system improves fault detection capability while managing complexity through selective data handling
Solution Approach 2:
The message store manager acts as an intermediary between the fault detection mechanism and the stored messages. It processes search rules and coordinates the retrieval of relevant message copies, thereby improving fault detection capability while centralizing complexity management in a dedicated component that mediates between detection needs and stored data
Data Source
AI summary
A method and apparatus for using a persistent message store in a distributed computing system. A message is stored in a persistent message store, wherein the message is a copy of an original message transmitted from a message producer to a message consumer in a distributed computing system. A command is received from a requestor to search the persistent message store for a stored message, the command indicating a search rule. The search rule is processed by a rules engine of the persistent message store to search for the stored message.


