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.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-25
- Publication Date
- 2021-03-05
AI Technical Summary
The existing circuit breaker degradation mechanism is not perfect in microservice systems, causing server-side failures to occur easily and affecting system availability.
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.
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.
Abstract
Citation Information
Patent Citations
Method and device for controlling request under micro-service architecture and storage medium
CN109684105A
API gateway guarantee service high availability method and system based on fusing and secondary caching
CN110413543A
Cache-based server interface fusing method and device
CN110737567A
Monitoring method, monitoring device, computer equipment and medium
CN111831504A