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

Request timeout monitoring method and device, computer equipment and storage medium

A technology of duration and time, applied in the field of communication, which can solve the problems of missing requests, the inability of the requesting server to retry and/or record, etc.

Inactive Publication Date: 2020-12-18
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For requests that do not receive a response result, the requesting server that initiated the request cannot retry and / or log, resulting in the request being missed

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
  • Request timeout monitoring method and device, computer equipment and storage medium
  • Request timeout monitoring method and device, computer equipment and storage medium
  • Request timeout monitoring method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0077] figure 1 It is an application environment diagram of the request timeout monitoring method in one embodiment. refer to figure 1 , the request timeout monitoring method is applied to a request timeout monitoring system. The request timeout monitoring system includes a request server 110 and a response server 120 . The request server...

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 request timeout monitoring method and apparatus, a computer device and a storage medium. The method comprises the steps of obtaining a request sent to a response server; obtaining an overtime duration of the request; storing the request in a timeout queue according to the timeout duration of the request; judging whether the request in the timeout queue is timeout or not;if the request is overtime, processing the request according to a request overtime strategy, wherein the timeout duration is used for indicating that the request is timeout if the duration between asending moment and a receiving moment is greater than the timeout duration, and the sending moment is the moment when a request server sends the request to a response server, wherein the receiving moment is the moment when the request server receives the response of the corresponding request sent by the response server. The method provided by the embodiment of the invention can monitor whether allsent requests are overtime or not.

Description

technical field [0001] The invention relates to the communication field, in particular to a request timeout monitoring method, device, computer equipment and storage medium. Background technique [0002] In a communication system, when dealing with a large number of requests, in order to improve resource utilization, an asynchronous communication mode is usually adopted. In the asynchronous communication mode, the communication between microservices adopts the method of long connection push. After the request push is completed, the server that initiates the request does not wait for the response server to return the response result of the request, and can continue to process other businesses. When the responding server receives and processes the request, it pushes the processing result to the requesting server through the long connection. After the requesting server monitors the response result, it will open a new thread to process the response result, and then continue to ...

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/26H04L12/54
CPCH04L12/5601H04L43/0852
Inventor 汤爱迪
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO 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