Flow limiting method and device, equipment and storage medium
A current limiting method and current limiting technology, applied in the Internet field, can solve problems such as crashes, service system downtime, poor service system stability, etc., and achieve the effects of improving stability, protecting stable operation, and solving poor service system stability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flow chart of a current limiting method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where access requests for specific services are appropriately limited in high concurrency scenarios. The method can be executed by a current limiting device, which can be implemented by software and / or hardware, and is usually integrated into a service system, such as a server. Such as figure 1 As shown, the method specifically includes the following steps:
[0030] Step 110, when receiving the access request of the target service, determine whether the target service is a traffic-limited service marked in the preset storage area.
[0031] Wherein, when the service system is started, the label for setting the current limiting service is mapped to the preset storage area, and the service system is a system carrying services for processing access requests. The label of each setting current limiting service can be gen...
Embodiment 2
[0049] Figure 4 It is a flow chart of a current limiting method provided by Embodiment 2 of the present invention. This embodiment further optimizes the current limiting method on the basis of the above embodiments, specifically adding dynamic adjustment setting current limiting service and limiting The advantage of this optimization is that the current limiting strategy can be adjusted according to the actual access conditions of each service, and the full utilization of each service resource and system resource is realized. The explanations of terms that are the same as or corresponding to those in the foregoing embodiments are not repeated here.
[0050] see Figure 4 , the current limiting method provided in this embodiment specifically includes the following steps:
[0051] Step 410, when receiving the access request of the target service, determine whether the target service is a traffic-limited service marked in the preset storage area.
[0052] Step 420: If the tar...
Embodiment 3
[0066] Figure 5 It is a schematic structural diagram of a current limiting device provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of appropriately limiting current access requests for specific services in high concurrency scenarios. The device specifically includes: a service determination module 510 and A current limiting module 520 .
[0067] Among them, the service determining module 510 is used to determine whether the target service is a current-limited service marked in the preset storage area when receiving an access request for the target service; the current-limiting module 520 is used to determine if the target service For the current limiting service, determine whether to limit the current of the access request according to the current limiting state of the target service; wherein, when the service system is started, the label for setting the current limiting service is mapped to the preset storage area, and the service...
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