Method and system for dynamic adjusting flow control threshold
A flow control threshold and dynamic adjustment technology, applied in the field of communication, can solve the problems of running out of communication access, inability to access subsequent transactions, blocking and waiting of the core platform transaction processing thread, etc., to achieve the effect of resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] First, explain the terms involved: transaction: an operation in the banking system to complete a certain business. Flow control: referred to as flow control, mainly refers to controlling the concurrent transaction volume so that it does not exceed the flow control threshold. Flow control threshold: It is mainly the limit value of certain types of transaction concurrency. Dynamic flow control: referred to as dynamic flow control, refers to the fact that the flow control threshold can be dynamically adjusted during the implementation of flow control. Transaction sampling: Statistically analyze transactions within a period of time, and calculate transaction failure rate, average response time and other information. Transaction sampling rate: refers to how often a transaction is statistically analyzed. Transaction failure rate: refers to the percentage of transaction failures in all transactions within a sampling period. Transaction response time: the time required for a...
Embodiment 2
[0036] In embodiment 1, the method for dynamically adjusting the flow control threshold includes the above figure 2 All steps of the processing method shown, wherein, such as image 3 As shown, step S200 specifically includes the following steps:
[0037] S210: Obtain a contraction algorithm when it is judged that the processing state is a failure state.
[0038] S220: Obtain a recovery algorithm when it is judged that the processing state is a non-fault state.
[0039] Wherein, adjusting the flow control threshold of the resource according to the contraction algorithm includes:
[0040] Obtain contraction parameters, wherein the contraction parameters include the current threshold, minimum threshold, judgment interval and shrinkage rate, wherein the judgment interval can be set as [minimum threshold, maximum threshold*10%], the minimum threshold is greater than or equal to 1 and An integer less than or equal to the maximum threshold, the default is 1;
[0041] comparing ...
Embodiment 3
[0048] In Embodiment 3, a specific example is given to illustrate the method of dynamically adjusting the flow control threshold.
[0049] Such as Figure 4 As shown, the dynamic threshold adjustment module acquires the total number of sampled transactions and the number of sampled faulty transactions of the target resource within the period from the resource information management module according to the time period, and calculates the failure rate. The resource entries that need dynamic threshold adjustment are set through the configuration file. If a resource entry is not set in the configuration file, the dynamic threshold adjustment will not be performed, that is, the fixed threshold will be used for flow control. The statistical cycle of each resource is set by the configuration file. The sampled data is cleared to zero at the end of each cycle. The trigger function of sampling statistics is implemented by a timer and executed by an independent thread pool. The dynami...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com