Concurrent request processing method and device, electronic equipment and storage medium
The embodiment of the invention relates to a concurrent request processing method and device, electronic equipment and a storage medium, and the method comprises the steps: receiving a plurality of concurrent requests, determining an action object identifier of each concurrent request, and aiming at...
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 relates to a concurrent request processing method and device, electronic equipment and a storage medium, and the method comprises the steps: receiving a plurality of concurrent requests, determining an action object identifier of each concurrent request, and aiming at each concurrent request, determining an action object identifier of each concurrent request; determining a target message queue from message middleware according to the action object identifier of the concurrent request, writing the concurrent request into the target message queue, and aiming at each message queue in the message middleware, writing the concurrent request into the target message queue, and calling a consumer thread corresponding to the message queue to sequentially process the plurality of concurrent requests in the message queue. Therefore, while the write-in conflict of a plurality of concurrent requests is solved, the processing efficiency of the concurrent requests is improved, and the database |
---|