Traffic sampling method, computer equipment and computer readable storage medium

A flow and sampling rate technology, applied in user identity/authority verification, digital transmission systems, electrical components, etc., can solve the problems of large concurrent access, large storage space, consumption of large storage space and computing resources, etc., and achieve fast flow sampling Effect

Active Publication Date: 2020-12-22
NETWORKBENCH SYST
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The above improved solution can achieve the transactionality and idempotence in the above requirements, but due to the need to maintain a complete user list in the cache, a large storage space is required, especially for mobile App applications with a large user base,...

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
  • Traffic sampling method, computer equipment and computer readable storage medium
  • Traffic sampling method, computer equipment and computer readable storage medium
  • Traffic sampling method, computer equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0030] In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.

[0031] The embodiment of the present application provides a traffic sampling method based on a hash algorithm, which realizes fast retrieval and traffic sampling without requiring a large amount of storage space and computing resources. The flow sampling method provided by the embodiment of the present application will be described below with reference to the accompanying drawings.

[0032] figure 1 A flow chart of an implementation of the flow sampling method provided in the embodiment of this application, such as figure 1 As shown, the met...

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 a traffic sampling method, computer equipment and a computer readable storage medium, and the traffic sampling method comprises the steps: receiving an access request; obtaining identifier information corresponding to the access request; determining a hash value of the identifier information by using a hash method with a uniform hash characteristic; determining a proportion of the hash value in a hash integer value domain range to obtain a proportion value corresponding to the hash value; comparing the proportion value and a sampling rate; if the proportion value is less than or equal to the sampling rate, accepting the access request; and if the proportion value is greater than the sampling rate, refusing the access request. According to the method, rapid trafficsampling is realized, and a large quantity of storage space and computing resources are not needed.

Description

technical field [0001] The present application relates to the technical field of Application Performance Management (APM for short), and in particular to a traffic sampling method, computer equipment, and a computer-readable storage medium. Background technique [0002] When the application server receives a large number of requests from the client, it often performs flow control or limits the number of devices on the client's requests according to the specified sampling rate. Assuming that the specified sampling rate S (0<=S<=1), the total request volume within a period of time is N, after filtering by the sampling algorithm as required, the system accepts the request volume (sampling volume) N s =N*S. [0003] In order to achieve the purpose of flow control, the proportion of flow is filtered by configuring the sampling rate. The sampling rate is represented by S (0<=S<=1). The results of sampling and filtering are divided into "accept" and "reject". "Accept...

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/801H04L29/08H04L9/32
CPCH04L47/10H04L67/146H04L9/3236H04L67/60
Inventor 廖雄杰
Owner NETWORKBENCH SYST
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