Method for defending micro-service avalanche effect
An avalanche effect, micro-service technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as platform crashes, system bottlenecks, consumption of system threads, etc., to achieve the effect of improving the success rate of calls
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] There are many implementations of the present invention, here we take the cloud platform as an example to illustrate one of the implementation methods, the flow chart is as follows figure 1 As shown, the specific implementation process is as follows
[0022] 1. Set the load balancing weight scheduling rules, the code is as follows:
[0023]
[0024]
[0025] Load balancing means that user requests are allocated to multiple microservices for execution, so as to jointly complete work tasks and quickly respond to user requests; the default scheduling rule is the best response time rule.
[0026] The weight scheduling rule means that the priority of the microservice whose number of failures exceeds the threshold per unit time is reduced to the lowest, and then other microservices with higher priority are selected according to the best response time rule; the unit time can be set, and the default is 5 minutes. The default threshold is 20 times;
[0027] The best resp...
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