Network request processing method and device

A network request and processing method technology, applied in the computer field, can solve the problems that the number, frequency, and time interval of network requests cannot be consistent, and the root cause of the problem cannot be accurately found, so as to achieve the effect of multiple processing or playback

Active Publication Date: 2021-06-11
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: the number and frequency of network requests simulated offline, and the time interval for receiving network requests, etc., cannot be compared with the number and frequency of network requests received online. , time interval, etc., especially when there is a problem in the business system, it is impossible to accurately find the root cause of the problem

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
  • Network request processing method and device
  • Network request processing method and device
  • Network request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0043] figure 1 is a schematic diagram of the main flow of a method for processing a network request according to an embodiment of the present invention; figure 1 As shown, the method may specifically include the following steps:

[0044] Step S101, acquiring one or more network requests.

[0045] The obtained network request can be any network request sent to the busin...

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 discloses a network request processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: acquiring one or more network requests; according to the sequence of obtaining the network requests, sending the network requests to a first delay message queue, wherein the network requests in the first delay message queue have first survival time; and when the first survival time passes, sending the network request to an instant message queue, so that a consumer of the instant message queue processes the network request. According to the embodiment, recording and playback of the network requests can be realized according to the number, the frequency, the time interval and the like of the online network requests.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for processing network requests. Background technique [0002] In existing business systems, such as e-commerce systems, problems such as high load, slow response, and system crashes often occur in business systems due to high concurrency issues such as excessive network requests. In order to accurately analyze the problem or realize the monitoring of the operation status of the business system, and further avoid repeated problems in the system, it is necessary to know the situation of the received network request when the business system has a problem. However, since online network requests can only be processed online, business logic processing cannot be performed offline for problem analysis and troubleshooting. Therefore, the monitoring of the operating status of the business system and problem analysis and troubleshooting can only be realized t...

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 Applications(China)
IPC IPC(8): H04L12/58
CPCH04L51/046H04L51/18H04L51/226
Inventor 董志强
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
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