Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Pending Publication Date: 2021-05-14
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] With the prevalence of online shopping, the frequency of high concurrent requests is getting higher and higher, and when the number of concurrent requests exceeds the processing capacity of the service system, it will cause the service system to go down or collapse. Therefore, the existing service system has poor stability. question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Flow limiting method and device, equipment and storage medium
  • Flow limiting method and device, equipment and storage medium
  • Flow limiting method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a flow limiting method and device, equipment and a storage medium, and the method comprises the steps of determining whether a target service is a flow limiting service marked in a preset storage area or not when an access request of the target service is received; if the target service is the current limiting service, determining 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 flow limiting service is mapped to the preset storage area, and the service system is a system for bearing the service for processing the access request. Through the technical scheme of the embodiment of the invention, the purpose of limiting the flow of the access request of the target service is realized, and the technical effect of protecting stable operation of the target service is achieved by limiting the flow of the access request of the target service, so that the technical problem of poor stability of a service system in a high-concurrency scene is solved, and the technical effect of improving the stability of the service system is achieved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular, to a current limiting method, device, equipment and storage medium. Background technique [0002] Disruptor is a high-performance asynchronous processing framework and an in-memory message component for efficient and low-latency communication between threads. It can achieve a throughput of millions per second and is widely used by major e-commerce service systems. [0003] However, in the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] With the prevalence of online shopping, the frequency of high concurrent requests is getting higher and higher, and when the number of concurrent requests exceeds the processing capacity of the service system, it will cause the service system to go down or collapse. Therefore, the existing service system has poor stability. ques...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5044G06F9/505G06F9/5083
Inventor 张锋雷宇
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products