System and method for realizing API real-time early warning based on limited time series data queue

The invention relates to the field of micro-service application programs, in particular to a system and method for achieving API real-time early warning based on a limited time series data queue. Thesystem comprises a finite time sequence queue management module, an early warning rule matcher, a res...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LU CAIHUI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the field of micro-service application programs, in particular to a system and method for achieving API real-time early warning based on a limited time series data queue. Thesystem comprises a finite time sequence queue management module, an early warning rule matcher, a response timeout early warning module, an error code early warning module and a request rate early warning module. The method comprises the steps: S1, creating early warning rules of various APIs; S2, adding an API URL address needing early warning and eliminating early warning under the early warningrule; S3, issuing an early warning rule to a calculation engine; S4, constructing a limited message queue set with a time sequence, storing request data of all APIs, and recording the API request data in real time; S5, performing matching operation on the API request data needing early warning and an early warning rule in real time; and S6, if the operation result triggers an event defined in theearly warning rule, perfor