Request degradation processing method and device, electronic equipment and storage medium

A technology for downgrading processing and electronic equipment, which is applied in the Internet field and can solve problems such as difficulty in realizing capacity estimation.

Pending Publication Date: 2019-11-26
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF9 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides a request downgrade processing method, device, electronic equipment, and storage medium, so as to at least solve the problem that capacity estimation is difficult to realize in the downgrade strategy based on flow control in the related art

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 degradation processing method and device, electronic equipment and storage medium
  • Request degradation processing method and device, electronic equipment and storage medium
  • Request degradation processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0117] Example 1, assuming that the type of the business request is a special type: user authentication service, then suspend the processing of business request 1 and discard the business request, assuming that the default result corresponding to this type of business request is authentication failure, then the As the processing result of business request 1, authentication failure can be directly returned to the user, such as Figure 4A As shown, directly tell the user that the authentication failed.

example 2

[0118] Example 2, assuming that the type of the business request is product recommendation, the business request can be discarded, and the product recommendation results pre-cached locally or in other designated locations corresponding to the business request can be directly obtained and returned to the user as the processing result of the business request For example, when the service request does not recommend astronomy books, the preset recommendation results of astronomy books may be returned to the user.

example 3

[0119] Example 3, some unrelated transaction business requests in the transaction order link, when the system is not under pressure and the capacity is sufficient, there is no problem in calling. To request service downgrade processing, the business request can be discarded, and the preset purchase failure result corresponding to the business request will be returned to the user as the processing result, and an error page will be returned to the user. Try again later", etc., or if Figure 4B Shown to inform the user that there are too many orders placed at the same time and try again later; or directly inform the user that the product is out of stock, such as Figure 4C shown.

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 degradation processing method and device, electronic equipment and a storage medium, and relates to the technical field of internet, which are used for solving the problem that capacity estimation is difficult to achieve in a degradation strategy based on flow control in related technologies. The method of the present disclosure includes the steps of: if a service request needs to be sent to the called micro-service node, comparing the service request queue length with the maximum service request queue length corresponding to the called micro-service node, wherein the service request queue length represents the number of service requests which are sent to the called micro-service node and do not receive results returned by the called micro-service node; and if the service request queue length is not less than the maximum service request queue length corresponding to the called micro-service node, performing degradation processing on the service request. According to the method and the device, the capacity of the called dispatched micro-service node does not need to be estimated, so that the degradation processing of the service request is easier to realize, and the automatic degradation when the capacity of the dispatched micro-service node is insufficient is realized.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and in particular to a request downgrade processing method, device, electronic equipment and storage medium. Background technique [0002] With the rapid development of Internet technology, more and more businesses can be realized through the network, such as: payment, shopping and so on. Business service providers can deploy multiple microservice nodes (also called business systems) for providing business services in the background, and service calls can be made between microservice nodes to complete business collaboratively. If the call response time of a microservice node is too long or unavailable, more and more system resources will be occupied by the call to the microservice node, which will cause the system to crash, which is the so-called "avalanche effect". [0003] The downgrade strategy based on traffic control is a common processing method to reduce the "avalanche effec...

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/801H04L12/823H04L12/875H04L47/32H04L47/56
CPCH04L47/29H04L47/32H04L47/56
Inventor 王玉龙曹福祥刘希诚邢志浩
Owner BEIJING DAJIA INTERNET 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