Method and device for realizing automatic degradation

An automatic and automatic off technology, applied in the computer field, can solve problems such as reducing system performance, increasing server burden, online service avalanche, etc., and achieve the effect of improving system performance

Pending Publication Date: 2021-03-19
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of implementing the present invention, the inventor found that at least the following problems existed in the prior art: when obtaining services with high concurrent requests, manual intervention to modify the configuration file was slow, and before the configuration file was modified, the CPU of the server was prone to soaring, which in turn caused online Service avalanche; and by triggering scheduled tasks to achieve automatic system downgrade, a separate thread is required to regularly calculate whether to downgrade, especially when a large number of threads are required to monitor whether multiple interfaces and data sources are downgraded, which greatly increases the burden on the server , reducing the performance of the system

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
  • Method and device for realizing automatic degradation
  • Method and device for realizing automatic degradation
  • Method and device for realizing automatic degradation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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.

[0029] see figure 1 , the embodiment of the present invention provides a method for realizing automatic upgrading, which may specifically include the following steps:

[0030] Step S101, receiving an access request.

[0031] Access requests include access requests for interfaces, data sources, etc. Due to the high dependence on the accessed data sources, interfaces, etc....

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 method and a device for realizing automatic degradation, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: receiving an access request; when the access request is abnormal, recording a time node when the abnormality occurs; when the number of the recorded time nodes is greater than a first threshold number,deleting the recorded earliest time node; and calculating a first time difference value between the earliest time node and the current time, and starting automatic degradation when the first time difference value is less than a first threshold time. According to the embodiment, automatic degradation is realized, human intervention is avoided, timed task triggering degradation is not needed, and the system performance is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for realizing automatic downgrading. Background technique [0002] When obtaining services according to requests (such as accessing data sources, interfaces, etc.), it usually has a high dependence on the status of the accessed data sources or interfaces. The normal operation of the process needs to trigger degradation or change the dependence on the accessed interface and data source. At present, commonly used methods to trigger downgrade include: artificially modifying the configuration file and restarting the service or modifying the configuration online to change the dependence on the abnormal interface and data source, thereby triggering downgrade or offline access; The number of service failures or exceptions within a certain period of time triggers scheduled tasks to automatically downgrade the system. [0003] In the process of implementing the pre...

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): G06F11/07G06F5/06
CPCG06F11/0793G06F11/0757G06F11/076G06F5/06
Inventor 段开元
Owner BEIJING JINGDONG ZHENSHI 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