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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com