Dynamic Polling Cycle Adjustment for Message Gateway Load Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing information polling methods face inefficiencies due to the difficulty in determining an optimal polling cycle, leading to unnecessary load on message gateways and other information systems, as either too-short or too-long cycles can result in increased workload or delayed message processing.
Innovation Solution
A method and system that dynamically adjust the polling cycle based on the arrival rate of messages and server load, where a scheduler calculates a reference polling cycle considering factors like message queue length, arrival rate, and CPU load, allowing for adaptive adjustments to optimize message delivery efficiency and service quality.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a fixed polling cycle is used, then the implementation is simple, but the message gateway experiences unnecessary load when message arrival rate is low
Solution Approach 1:
The patent applies dynamics by transitioning from a fixed polling cycle to a dynamic one that automatically adjusts based on message arrival rate. The scheduler monitors the actual message arrival rate and adjusts the polling cycle accordingly, making the system adaptable to varying load conditions without manual intervention.
Solution Approach 2:
The patent changes the parameter of polling cycle duration based on the message arrival rate parameter. When the message arrival rate is high, the polling cycle is shortened; when the arrival rate is low, the polling cycle is extended. This parameter adjustment optimizes the balance between message delivery speed and gateway load.
2Speed
If a short polling cycle is used, then message delivery speed is improved, but the message gateway workload increases unnecessarily
Solution Approach 1:
The patent implements feedback by having the scheduler continuously monitor the actual message arrival rate and use this information to adjust the polling cycle. This closed-loop control ensures that the polling cycle is optimized based on real-time system conditions, preventing unnecessary gateway workload while maintaining efficient message delivery.
Solution Approach 2:
The patent dynamically changes the polling cycle parameter based on the message arrival rate parameter. The scheduler adjusts the polling cycle duration to match actual message arrival patterns, extending the cycle when arrival rate is low to reduce gateway workload, and shortening it when arrival rate is high to maintain fast message delivery.
3Productivity
If a long polling cycle is used, then the message gateway workload is reduced, but message processing is delayed
Solution Approach 1:
The patent dynamically adjusts the polling cycle parameter based on the message arrival rate parameter. When the arrival rate is high, the polling cycle is shortened to reduce message processing delay; when the arrival rate is low, the polling cycle is extended to reduce gateway workload. This adaptive approach optimizes both parameters simultaneously.
Solution Approach 2:
The patent makes the polling cycle dynamic rather than static, allowing it to automatically adjust to match actual message arrival patterns. This dynamic adjustment ensures that the system responds quickly to high arrival rates while being conservative during low arrival rate periods, optimizing the trade-off between response speed and resource consumption.
4Ease of operation
If manual polling cycle setting is used, then the configuration is simple, but the system cannot adapt to changing message arrival rates
Solution Approach 1:
The patent implements self-service by having the system automatically monitor and adjust its own polling cycle based on actual message arrival rate. The scheduler continuously monitors the message arrival rate and autonomously adjusts the polling cycle without requiring manual intervention, making the system self-adaptive to changing conditions.
Solution Approach 2:
The patent uses feedback mechanisms where the scheduler monitors the actual message arrival rate and uses this information to adjust the polling cycle. This closed-loop feedback system enables the system to automatically adapt to changing message arrival patterns, eliminating the need for manual reconfiguration.
Data Source
AI summary
The invention provides an information polling method, apparatus and system thereof, wherein a message gateway receives an information polling request from an application in an application client, and according to the received information polling request, the message gateway acquires at least one message requested by the application and calculates a reference polling cycle of the application, and sends the acquired message requested by the application and the reference polling cycle to the application. The application determines a polling cycle of a next poll according to a load condition of the application client and the received reference polling cycle. According to the invention, efficiency and quality of the information polling is improved, while the system is ensured to run normally, reducing the cases of message blocking and system breakdown which may occur in the existing situations.


