Server and control method thereof

By introducing internal responders, local storage and interceptors on the server side, degradation and circuit breaker processing in error situations are realized, which solves the problem of imperfect circuit breaker and degradation mechanism in the existing technology and ensures the normal operation of the server side and microservice system. run.

CN112449017AActive Publication Date: 2021-03-05SHENZHEN HEYTAP TECHNOLOGY CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN HEYTAP TECHNOLOGY CO LTD
Filing Date
2020-11-25
Publication Date
2021-03-05

AI Technical Summary

Technical Problem

The existing circuit breaker degradation mechanism is not perfect in microservice systems, causing server-side failures to occur easily and affecting system availability.

Method used

A server is designed, including an internal responder, local storage and an interceptor. The internal responder is used to respond to requests, the local storage is used to store degradation data and circuit breaker data, and the interceptor performs degradation processing and circuit breaker when an error occurs in the internal responder. Process and obtain the corresponding data from local storage.

🎯Benefits of technology

Through downgrade processing and circuit breaker processing, it ensures the normal operation of the server, prevents system avalanches, ensures the normal operation of the microservice system, and can withstand the impact of short-term large-volume requests.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a server and a control method thereof. And the server comprises an internal responder, a local memory and an interceptor. The internal responder is used for responding to the request; the local memory is used for storing degradation data and / or fusing data; and the interceptor is used for performing degradation processing and / or fusing processing when an error occurs in theinternal responder, acquiring the degradation data and / or the fusing data from the local memory and returning corresponding data. According to the server and the control method thereof provided by the embodiment of the invention, degradation processing and / or fusing processing can be carried out when the internal responder has an error, so that the server can work normally, and a micro-service system can work normally.
Need to check novelty before this filing date? Find Prior Art