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

Flow control method and device, distributed cluster

A distributed cluster and control device technology, applied in the field of communication, can solve problems such as difficult distributed clusters, inability to respond to burst traffic requests, and fixed rates

Active Publication Date: 2022-05-06
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the leaky bucket algorithm uses single-point current limiting and the rate is fixed, it cannot cope with burst traffic requests; the token bucket algorithm is easy to cause hot spots, and the counter method is generally used for single-node current limiting, which is difficult to apply to distributed clusters

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 control method and device, distributed cluster
  • Flow control method and device, distributed cluster
  • Flow control method and device, distributed cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] 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.

[0036]It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used for example, illustration or description. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is i...

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 control method and device, and a distributed cluster, which relate to the field of communication technology, and can combine the distributed cluster with the ZooKeeper cluster to realize multi-dimensional access flow control in a distributed environment. The method includes: the control device acquires initialization information; and sends the initialization information to the ZooKeeper cluster; the control device accumulates the flow of the first node device in a predetermined period according to a specified dimension, obtains the accumulated flow, and passes the first node device to The accumulated flow is sent to the ZooKeeper cluster; the control device obtains the flow of the second node device of at least one dimension according to at least one predetermined cycle; and the flow of the second node device of at least one dimension is accumulated to generate the total of the first node device Traffic, comparing the total traffic with a preset threshold to determine whether to perform a traffic-limiting operation on the first node device. The embodiment of the present invention is applied to a communication system.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a flow control method and device, and a distributed cluster. Background technique [0002] For Internet distributed concurrent systems, in order to prevent instantaneous high-concurrency scenarios from exceeding the system's carrying capacity and ensure stable operation of the system, it is necessary to establish access flow control functions and set corresponding traffic thresholds according to different dimensions to achieve the function of restricting access. The counter method adopted by the existing flow control scheme is mainly used to limit the total number of concurrency within a certain period of time, such as the number of concurrency in database connection pools, thread pools, and spikes; Threshold limits the flow. The core idea of ​​the leaky bucket algorithm is to assume a constant rate of outgoing requests with a fixed capacity, ...

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): H04L67/1097H04L67/1004H04L47/10
CPCH04L47/10H04L67/1004H04L67/1097
Inventor 张伟王国忠丁厚东史永飞李成高旺
Owner CHINA UNITED NETWORK COMM GRP CO LTD