Event Message Buffer Deduplication to Prevent Overflow Message Loss
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Event message buffers in computer systems often overflow due to the mismatch between high event message reception rates and slower reading rates, leading to the loss of important event messages when the buffer becomes full.
Innovation Solution
An event message buffer system that compares incoming messages with previously queued messages from the same source, only queuing new messages if they contain different content or type, thereby overwriting older messages to ensure the most recent information is retained.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If event messages are queued in a memory buffer to compensate for rate differences, then message delivery is improved, but message loss occurs when the buffer becomes full
Solution Approach 1:
The buffer is segmented into multiple storage locations, each associated with a specific system component. This segmentation allows the buffer to track and manage messages from different sources independently, enabling more efficient space utilization and reducing overall message loss.
Solution Approach 2:
Instead of following the traditional FIFO approach where old messages are discarded when the buffer is full, this invention inverts the logic by overwriting old messages with new ones from the same system component. This ensures that the most recent information is always retained while maintaining buffer efficiency.
2Device complexity
If a FIFO buffer is used to queue event messages, then simple implementation is achieved, but message loss occurs when the buffer becomes full
Solution Approach 1:
The buffer is divided into multiple storage locations, each dedicated to a specific system component. This segmentation maintains relative simplicity while improving message retention by allowing independent management of messages from different sources.
Solution Approach 2:
The buffer management approach changes from a simple FIFO structure to a component-associated structure with flags indicating queued status. This parameter change enables better utilization of buffer space while maintaining manageable complexity.
3Productivity
If the buffer accepts all incoming messages at high rate, then complete message capture is improved, but buffer overflow and message loss worsen
Solution Approach 1:
The buffer is segmented into multiple storage locations associated with different system components. This allows the buffer to efficiently handle high-rate message reception by directing messages to appropriate segments, reducing overflow and loss.
Solution Approach 2:
The buffer pre-allocates storage locations for each system component and maintains flags to indicate queued status. This preliminary organization enables efficient message handling at high rates without requiring complex dynamic allocation when messages arrive.
Data Source
AI summary
An event message buffer queues event messages from a number of system components. Upon receiving an event message from a system component, the event message buffer compares the event message with a pending event message from the same component. If the event message is the same as the pending event message, the event message is not queued. If the event message differs from the pending event message, the event message is queued. Upon receiving a read request, the event message buffer only transmits the queued event message if it is different from the previously sent event message.


