Unlock instant, AI-driven research and patent intelligence for your innovation.

Cluster self-adaptive current limiting method and device, computer equipment and storage medium

A current limiting method and computer technology, applied in computer equipment and storage media, cluster adaptive current limiting method, device field, can solve the problems of application unavailability, cluster current limiting unavailable, etc., and achieve the effect of high availability

Pending Publication Date: 2021-04-16
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, under the current mainstream cluster deployment, the implementation effect of single-machine current limiting is like a chicken rib, and distributed current limiting depends heavily on the availability of redis. When redis is unavailable, cluster current limiting is also unavailable, which may easily cause application unavailability, etc. Serious consequences

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
  • Cluster self-adaptive current limiting method and device, computer equipment and storage medium
  • Cluster self-adaptive current limiting method and device, computer equipment and storage medium
  • Cluster self-adaptive current limiting method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] see figure 1 , this embodiment proposes a cluster adaptive current limiting method, including the following steps:

[0052] S100: Detect the running state of the third-party storage, the third-party storage is used to store the number of access requests received by all computers included in the computer cluster within a preset period.

[0053] A cluster is a group of mutually independent computers that form a computer system through a high-speed network, and each cluster node is an independent server running its own process. For network users, the backend of the website is a single system that works together to provide users with system resources and system services. Combined into a group through a network connection to complete a task together. When a user needs to access resources or services in the above computer system, an access request will be sent to the cluster. It can be understood that the number of access requests is directly proportional to the number of ...

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 invention relates to the technical field of software monitoring, and provides a cluster self-adaptive current limiting method and device, computer equipment and a storage medium. The method comprises the following steps: detecting the running state of a third-party memory, wherein the third-party memory is used for storing the number of access requests received by all computers contained in the computer cluster within a preset period; under the condition that the third-party memory runs normally, performing distributed current limiting on all the computers based on a first threshold value, the first threshold value being a threshold value of the number of access requests received by all the computers contained in the cluster; and under the condition that the third-party memory runs abnormally, carrying out single-machine current limiting on each computer contained in the cluster based on a second threshold value, the second threshold value being a threshold value of the number of access requests received by each computer contained in the cluster.

Description

technical field [0001] The invention relates to the technical field of software monitoring, in particular to a cluster self-adaptive current limiting method, device, computer equipment and storage medium. Background technique [0002] At present, the control methods for high concurrent traffic mainly include single-machine current limiting and distributed current limiting. Among them, the single-machine current limiting is for independent control of a single computer, specifically, the token bucket algorithm or the funnel bucket algorithm can be used. Distributed current limiting is for the overall control of all computers in the cluster. Specifically, third-party storage such as redis combined with the atomicity of lua scripts can be used to implement distributed current limiting to uniformly control the traffic of the cluster. However, under the current mainstream cluster deployment, the implementation effect of single-machine current limiting is like a chicken rib, and d...

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): G06F11/30
Inventor 曾林新
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD