Topic-Subscription Messaging System Hierarchical Linking
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional topic-subscription messaging systems face capacity limitations due to predefined maximum subscription limits, leading to potential message loss when expanding capacity by displacing existing receivers, which is undesirable, especially for critical messages.
Innovation Solution
Introducing a parent topic-subscription structure ahead of the original structure, where a subscription channels messages from the parent to the original, allowing all receivers to continue receiving messages without displacement and enabling exponential capacity growth without missing messages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If a predefined maximum subscription limit is imposed on a topic-subscription structure, then the system operates with simple architecture and controlled resource usage, but the system capacity is limited and cannot accommodate additional receivers beyond the limit
Solution Approach 1:
The system is divided into multiple topic-subscription structures (first structure with initial subscriptions, second structure with additional subscriptions) that can be independently managed. Each structure has its own subscription limit, but together they provide expanded total capacity without requiring a single complex structure to handle all subscriptions
Solution Approach 2:
A parent-child relationship is established between topic-subscription structures where the second structure becomes a child of the first. The link from the second structure to the first allows nested organization where child subscriptions can access parent topics, enabling hierarchical expansion of subscription capacity while maintaining manageable individual structure sizes
2Quantity of substance
If existing receivers are displaced to expand capacity in a topic-subscription structure, then system capacity increases, but message delivery reliability deteriorates because displaced receivers may miss critical messages
Solution Approach 1:
A second topic-subscription structure is created and configured with additional subscriptions before any receivers need to be displaced. This preliminary expansion provides available subscription slots that can accommodate new receivers without affecting existing ones, ensuring continuous reliable message delivery to all receivers simultaneously
Solution Approach 2:
The link between the child second structure and parent first structure acts as an intermediary mechanism. It enables message routing from the parent topic to child subscriptions without disrupting the parent structure's existing receiver-subscription mappings, allowing capacity expansion while preserving established message delivery paths
3Productivity
If linear capacity expansion is used by adding subscriptions to an existing topic-subscription structure, then the architecture remains simple, but the growth rate is limited and cannot achieve rapid exponential scaling
Solution Approach 1:
The system transitions from single-dimension linear expansion (adding subscriptions to one structure) to multi-dimensional hierarchical expansion. By introducing parent-child relationships between multiple topic-subscription structures, the system enables exponential growth where each new structure can contribute additional subscription capacity while the hierarchical linkages provide organized access paths
Data Source
AI summary
A technique increases capacity in a topic-subscription messaging system. The technique involves, during a first time period, operating a first topic structure of the system. The first topic structure includes a first topic and a plurality of first subscriptions coupled with the first topic. The technique further involves, during a second time period, providing a second topic structure which includes a second topic and a plurality of second subscriptions coupled with the second topic. The technique further involves, during a third time period, providing a link from the second topic structure to the first topic structure making (i) the second topic structure a parent to the first topic structure and (ii) the first topic structure a child to the second topic structure, the link conveying messages from a particular second subscription of the second topic structure to the first topic of the first topic structure.


