Stateless Runtime Framework for Reliable Messaging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing Web services message processing runtime frameworks lack efficiency in handling concurrent message processing and ensuring reliable messaging due to state-full protocols and the need for extensive resource allocation, which hampers scalability and performance.
Innovation Solution
The improved runtime framework eliminates the mapping registry and context intermediary, redesigns protocols to be state-less, and supports hibernation, enabling efficient processing of multiple message pairs with a single protocol instance and enhancing scalability by allowing protocols like WS-Reliable Messaging to manage out-of-order messages effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If state-full protocols are used to ensure reliable messaging, then messaging reliability is improved, but memory consumption and resource allocation increase
Solution Approach 1:
The patent changes the state management parameter from state-full to state-less protocol execution. State-less protocols eliminate the need to maintain protocol state in memory, thereby reducing memory consumption while still achieving reliable messaging through the hibernation mechanism that suspends and restores protocol execution without retaining state.
Solution Approach 2:
The patent introduces hibernation as a phase transition mechanism where protocol execution is suspended (ibernated) when not actively processing messages, and restored when needed. This allows the system to transition between active processing and suspended states, reducing resource allocation during suspension while maintaining the ability to process messages reliably when active.
2Adaptability or versatility
If extensive resource allocation is made for protocol execution, then protocol functionality is improved, but scalability and performance deteriorate
Solution Approach 1:
The patent segments the protocol execution into discrete, stateless units that can be independently managed. Each protocol instance operates without maintaining state, allowing multiple instances to handle concurrent messages independently. The hibernation mechanism further segments resource allocation by suspending inactive instances while keeping active ones ready, improving concurrent processing efficiency.
Solution Approach 2:
The patent makes protocol execution dynamic through hibernation, allowing the system to adapt resource allocation based on actual message processing needs. Protocols transition between active and hibernated states dynamically, enabling the system to scale resource allocation up when message processing demand increases and down when demand decreases, thereby improving both scalability and concurrent processing efficiency.
3Productivity
If multiple protocol instances are maintained for concurrent processing, then concurrent message processing capability is improved, but device complexity increases
Solution Approach 1:
The patent uses copying in the sense that multiple stateless protocol instances can be created and managed without copying complex state information. Since the protocols are stateless, creating multiple instances is simple and does not involve copying substantial state data. The hibernation mechanism further simplifies instance management by allowing instances to be suspended and restored without copying their state, reducing the complexity of managing multiple concurrent protocol instances.
Data Source
AI summary
A system and method for the lifecycle of a protocol processing a message is described. In one embodiment, in a stateless object-oriented runtime environment, an instance of a reliable messaging protocol is used to process a message. The processing including receiving a message and performing operations based on said message.


