Business processing method and device, server and medium

The embodiment of the invention discloses a business processing method and device, a server and a medium, and the method comprises the steps: starting a target interface calling thread according to a business demand, calling a target interface through the target interface calling thread, and generat...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LIAN ZHENJIE
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 embodiment of the invention discloses a business processing method and device, a server and a medium, and the method comprises the steps: starting a target interface calling thread according to a business demand, calling a target interface through the target interface calling thread, and generating a retry interface calling message when the calling of the target interface fails, putting the retry interface calling message into a preset message queue; and monitoring the preset message queue through the message monitoring thread, and when it is monitored that a retry interface calling message enters the preset message queue, repeatedly calling the target interface according to the retry interface calling message until the condition of stopping calling the target interface is met, thereby completing the business demand. According to the technical scheme of the embodiment, the problem that the whole performance of the system is affected due to the fact that a single-thread serial repeated calling interface th