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

A method, device, server and storage medium for realizing flow control

A flow control and storage pool technology, applied in the computer field, can solve problems such as business avalanche effect, network connection occupation, occupation, etc., and achieve the effect of avoiding avalanche effect and occupation

Active Publication Date: 2022-05-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Multiple service nodes are often involved in complex businesses with large traffic volumes, and there are business function calling relationships between service nodes. When the called service node is abnormal, the network connection of the calling service node will be instantly occupied The blocking of subsequent requests may occupy resources such as memory, threads, and database connections, and eventually cause other service nodes using these resources to fail to work normally, resulting in an avalanche effect for the entire business

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
  • A method, device, server and storage medium for realizing flow control
  • A method, device, server and storage medium for realizing flow control
  • A method, device, server and storage medium for realizing flow control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated...

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 discloses a method, device, server and storage medium for realizing flow control. The method includes: determining the abnormal event rate in a service request event, the service request event refers to a first service node sending a service to a second service node The requested event; compare the abnormal event rate with the preset abnormal event rate threshold; adjust the upper limit of the token storage capacity of the token storage pool corresponding to the second service node according to the comparison result; for the first service node The sent token application request determines whether the token application of the first service node is successful according to the adjusted upper limit of token storage capacity; when it is determined that the token application of the first service node is successful, it returns to the first service node for triggering The first service node executes the token application success response message of the service request event. The invention avoids the occupation of the network connection when the called service node is abnormal on a large scale, thereby effectively avoiding the avalanche effect of the entire business.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, server and storage medium for realizing flow control. Background technique [0002] Multiple service nodes are often involved in complex businesses with large traffic volumes, and there are business function calling relationships between service nodes. When the called service node is abnormal, the network connection of the calling service node will be instantly occupied The blocking of subsequent requests may take up resources such as memory, threads, and database connections, and eventually cause other service nodes using these resources to fail to work normally, resulting in an avalanche effect for the entire business. [0003] Therefore, an effective or reliable technical solution is needed to realize the control of the flow borne by the service node, so as to avoid the occurrence of the above-mentioned avalanche effect. Contents of the invention ...

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 Patents(China)
IPC IPC(8): H04L47/10H04L47/215H04L9/40
CPCH04L47/10H04L47/215H04L63/06
Inventor 李正兴
Owner TENCENT TECH (SHENZHEN) CO LTD