Message Broker Monitoring for Distributed Application Stall Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional mechanisms in distributed systems fail to detect application progress and handle failures effectively, particularly due to internal stalls like livelocks or deadlocks, as they primarily focus on node liveliness without considering application-specific interactions.

Innovation Solution

A method utilizing a message broker with an application progress detector (APD) and a centralized orchestrator to monitor interactions between modules, detect deviations from normal behavior, and trigger recovery mechanisms based on application-specific manifests, enabling efficient detection and handling of application failures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional heartbeat monitoring is used to detect node liveliness, then the system can determine if a node is alive, but it cannot detect internal application stalls or deadlocks

Engineering Contradiction:
Improveliveness detection accuracyVSAvoidapplication progress detection capability
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces a message broker as an intermediary component that sits between application modules and the monitoring system. The message broker captures message flow information and makes it available to the monitoring system, enabling indirect observation of application progress without directly probing the application threads. This mediator approach allows detection of stalls and deadlocks through message flow analysis rather than direct thread monitoring.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces traditional mechanical heartbeat probing with a message flow-based detection mechanism. Instead of actively sending heartbeats and waiting for responses (which cannot detect internal stalls), the system passively monitors the natural message flow through the message broker, using message timing and flow patterns to infer application health and detect progress issues.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If active probing mechanisms are used to monitor application progress, then detailed progress information can be obtained, but system overhead and complexity increase

Engineering Contradiction:
Improveapplication progress measurement detailVSAvoidmonitoring system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The application modules themselves generate the monitoring data through their normal message processing operations. The message broker automatically captures message flow information as part of its normal function, without requiring separate monitoring agents or active probing mechanisms. This self-service approach allows precise progress measurement while keeping the monitoring system simple, as the monitoring data is a byproduct of normal operation.

Inventive Principle:
Principle #25Self-service

3Reliability

If conventional monitoring is used, then node availability can be tracked, but the system cannot trace inactivity to specific modules

Engineering Contradiction:
Improvenode availability monitoringVSAvoidmodule-level inactivity traceability
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent segments the monitoring information at the module level by tracking which specific modules publish and subscribe to which messages. The message broker maintains mapping information that connects messages to their source and destination modules, enabling the monitoring system to trace inactivity to specific modules rather than just observing node-level availability. This segmentation of monitoring data provides fine-grained visibility into application health.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12626540B2Method for detecting an application progress and handling an application failure in a distributed system
Publication Date: 2026.05.12 ROBERT BOSCH GMBH
  • US12626540B2 patent drawing
  • US12626540B2 patent drawing
  • US12626540B2 patent drawing

AI summary

A method for detecting an application progress and handling an application failure in a distributed system. The method includes: monitoring an interaction between modules of at least one application, the at least one application being deployed across different physical nodes, the interaction being carried out by exchanging messages between the modules using a message broker, the monitoring being carried out at least partially using the message broker; detecting the application progress based on the monitoring; initiating a failure handling based on the detecting.