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

A method and device for precise cluster speed limiting

An accurate and clustered technology, applied in the computer field, which can solve problems such as high complexity, low operability, and user bandwidth cannot reach the bandwidth size.

Active Publication Date: 2020-04-07
ALIBABA GRP HLDG LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] For the first type of solution, it is first necessary to provide a flow control entity in the cluster to control the rate limit. If the flow control entity fails, it will affect the normal operation of the cluster, and the applicability is not strong
Secondly, because the flow control entity needs to monitor the traffic rate of the service entity, it needs to communicate with the service entity in a large amount to decide the rate limit issued to each service entity, which is complex
[0009] For the second type of solution, it is difficult to ensure that the traffic of each client falls evenly on each service entity, and the operability is low
Secondly, if the traffic of the client is uneven, there will be traffic on some service entities for some clients that is greater than the specific speed limit value, resulting in packet loss, causing the actual bandwidth of the user to be less than the bandwidth purchased by the user, and the accuracy is relatively low. Low
[0010] For the third type of solution, adding a dedicated speed limit node will increase the cost, which is not applicable to small 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
  • A method and device for precise cluster speed limiting
  • A method and device for precise cluster speed limiting
  • A method and device for precise cluster speed limiting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0118] refer to figure 1, which shows a flow chart of the steps of an embodiment of a cluster precise rate limiting method of the present application, which may specifically include the following steps:

[0119] Step 110, receiving data packets.

[0120] Such as Figure 1A It is a schematic diagram of an application scenario of this application. It can be seen that there are 4 service entities inside the cluster, and the service entities communicate with the outside, such as the client, through each switch. The data packets sent by the client first pass through the switch, and then the switch distributes it to at least one service entity. deal with.

[0121] Among them, a cluster refers to a group of service entities that work together to provide a service platform that is more scalable and available than a single service entity. It mainly includes High Availability Cluster, Load Balance Cluster, and High Performance Computing Cluster. This application is mainly aimed at h...

Embodiment 2

[0159] refer to figure 2 , which shows a flow chart of the steps of an embodiment of a cluster precise rate limiting method of the present application, which may specifically include the following steps:

[0160] Step 210, receiving a data packet.

[0161] Step 220, judging whether the data packet is a data packet of a client that is responsible for handling by itself; if the data packet is not a data packet of a client that is responsible for handling by itself, proceed to step 230; For the data packets of the corresponding client, go to step 250 .

[0162] Step 230: Based on the identity information of the data packet, an IP header and a TCP header are encapsulated outside the data packet according to the rules of the network transmission protocol.

[0163] Based on the advantages of the aforementioned TCP, in order to ensure the correctness of the data during the forwarding process of the data packet, in the embodiment of the present application, based on the identity in...

Embodiment 3

[0200] refer to image 3 , which shows a flow chart of the steps of another embodiment of the cluster precise rate limiting method of the present application, which may specifically include the following steps:

[0201] Step 310, receiving a data packet.

[0202] Step 320, judging whether the data packet is forwarded by the service entity or sent by the client; if the data packet is forwarded by the service entity, confirm that the data packet is not handled by itself If the data packet is a data packet sent by the client, then confirm that the data packet is a data packet of the client that the user is responsible for, and then enter step 350.

[0203]It can be seen from the first embodiment that in practical applications, if the data packet received by the service entity is a data packet of the client, the data packet will be forwarded to the service entity responsible for dealing with the client to which the data packet belongs, and in Before forwarding, the service entit...

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

Embodiments of the present application provide a cluster precise rate limiting method and device, which relate to the technical field of computers. The method of the present application includes: receiving a data packet; judging whether the data packet is a data packet of a client that is responsible for handling by itself; if the data packet is not a data packet of a client that is responsible for handling by itself, forwarding the data packet To the service entity responsible for dealing with the client to which the data packet belongs; if the data packet is a data packet of the client that it is responsible for handling, then based on the identity information of the data packet, perform rate-limiting processing on the data packet. This application does not need to separately set a flow control entity in the cluster to limit the speed of the service entities in the entire cluster, and the failure of the flow control entity will not affect the normal operation of the entire cluster, which has strong applicability. Moreover, it is only simple forwarding of data packets between service entities, and the complexity is low.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a cluster precise speed limiting method and a cluster precise speed limiting device. Background technique [0002] With the popularization of the network, the application environment of the network becomes more and more diversified, for example, a cluster composed of a group of service entities working together is used to provide services to multiple clients or multiple users. In such an application environment, in order to prevent the excessive traffic of a certain client from affecting other clients or based on the demand for broadband traffic purchased by a certain client, it is necessary to limit the traffic rate of each client or user. Since the cluster contains multiple service entities, such as servers, etc. Each service entity provides services at the same time, which will cause the traffic of the same client to fall on multiple service entities in the cluste...

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): H04L12/26H04L12/823H04L29/08H04L47/32
CPCH04L43/16H04L47/32H04L67/1014H04L65/40
Inventor 姜邦杰祝顺民文荣孙成浩
Owner ALIBABA GRP HLDG 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