Flow self-adaption method based on distributed scene and system thereof

A distributed and self-adaptive technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve the problem that the token bucket algorithm cannot achieve traffic scheduling

Active Publication Date: 2020-09-08
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When conducting promotions, all resources are used to complete important businesses. For example, during Double 11, the main business is to allow users to inquire about products and purchase payments. At this time, businesses such as go

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 self-adaption method based on distributed scene and system thereof
  • Flow self-adaption method based on distributed scene and system thereof
  • Flow self-adaption method based on distributed scene and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] refer to figure 1 , shows a flowchart of the steps of the traffic adaptation method based on distributed scenarios according to Embodiment 1 of the present invention. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 2 as the execution subject. details as follows.

[0050] Step S100, when receiving the request sent from the client to the server, obtain the first count corresponding to the qps counter and the second count corresponding to the timeout counter, the first count includes the number of times the request is sent, and the second count includes calling The number of timed out requests.

[0051]Specifically, the sampling period is preset, and may be a time period such as 5 seconds, 10 seconds, or the like. The time is calculated by the timer, and every preset sampling period, when the caller sends a send request, the qps cou...

Embodiment 2

[0092] read on Image 6 , which shows a schematic diagram of program modules of Embodiment 2 of the distributed scene-based traffic adaptation system of the present invention. In this embodiment, the traffic adaptation system 20 based on a distributed scenario may include or be divided into one or more program modules, one or more program modules are stored in a storage medium, and processed by one or more processors Execute to complete the present invention, and realize the above-mentioned traffic adaptation method based on distributed scenarios. The program module referred to in the embodiment of the present invention refers to a series of computer program instruction segments capable of accomplishing specific functions, which is more suitable than the program itself to describe the execution process of the traffic adaptive system 20 based on a distributed scenario in a storage medium. The following description will specifically introduce the functions of each program modul...

Embodiment 3

[0135] refer to Figure 7 , is a schematic diagram of the hardware architecture of the computer device according to Embodiment 3 of the present invention. In this embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and / or information processing according to preset or stored instructions. The computer device 2 may be a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers) and the like. Such as Figure 7 As shown, the computer device 2 at least includes, but is not limited to, a memory 21 , a processor 22 , a network interface 23 , and a traffic adaptive system 20 based on a distributed scenario, which can be communicated with each other through a system bus. in:

[0136] In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk,...

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 cloud. The invention discloses a flow self-adaption method based on a distributed scene. The method comprises the steps that when a request sent to a server side by a client side is received, a first count corresponding to a qps counter and a second count corresponding to an overtime counter are obtained, the first count comprises the number of timesof sending the request, and the second count comprises the number of times of calling the overtime request; whether current limiting processing is carried out or not is judged according to the firstcount and the second count; and when flow limiting processing is carried out, a token in a token bucket is obtained, so as to send the request to the server when the token is obtained. The self-adaptive current limiting processing can be carried out.

Description

technical field [0001] Embodiments of the present invention relate to the field of cloud technology, and in particular, to a traffic adaptive method and system based on distributed scenarios. [0002] technical background [0003] When the company deploys computing-type cloud services, it often encounters that the performance of the cloud host is inconsistent, and the performance of the machines can vary by 30%. What is more serious is that due to the multi-instance deployment of the host, it is often at night (the peak period of major websites) ) The system cpu of some machines suddenly soars (the reason is that the consumption of a system call suddenly increases, the system cpu can soar to 90%, and the machine is basically unavailable). The reason is that many cloud hosts are virtualized on the same physical machine, and the isolation between cloud hosts is not done well. One cloud host may affect another cloud host on the same physical machine, which may cause performance ...

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
IPC IPC(8): H04L12/801H04L12/815H04L12/819H04L47/21H04L47/22
CPCH04L47/10H04L47/215H04L47/22
Inventor 杨哲
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products