Microservice request exception handling system
The embodiment of the invention provides a micro-service request exception handling system which comprises a log retry client used for agenting a micro-service request of a first micro-service to a second micro-service, judging whether a request result of the micro-service request is abnormal or not...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a micro-service request exception handling system which comprises a log retry client used for agenting a micro-service request of a first micro-service to a second micro-service, judging whether a request result of the micro-service request is abnormal or not according to an exception judgment rule in retry metadata corresponding to the micro-service request, and if yes, sending the request result of the micro-service request to the log retry client; recording request parameters of the micro-service requests with abnormal request results into a retry log file; the log retry server is used for importing request parameters of micro-service requests with abnormal request results into a database according to the retry log file, and is also used for obtaining a micro-service request set with abnormal request results from the database, and retrying the micro-service requests in the set according to the request parameters of the micro-service requests in the set and the sorti |
---|