Message distribution method and device
The invention relates to a message distribution method and device. The method includes a step of acquiring a first message of a queue to be allocated, a step of determining a current VNF corresponding to a currently processed message in a first queue if the number of messages in the first queue is a...
Gespeichert in:
1. Verfasser: | |
---|---|
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 invention relates to a message distribution method and device. The method includes a step of acquiring a first message of a queue to be allocated, a step of determining a current VNF corresponding to a currently processed message in a first queue if the number of messages in the first queue is a specified number after the first message joins the first queue in an available state, wherein a message allocated to the first queue can join the first queue in the available state, and a step of reserving a message of the current VNF in the first queue in the first queue for processing and queuing messages of VNFs except for the current VNF in the first queue again. By reserving a message of a VNF causing the blocking of the first queue in the first queue for processing, the messages of other VNFs are allocated to other queues again for processing, the range of abnormal effects can be reduced according to the message distribution method and device of the embodiment of the invention, and the fault tolerance of the |
---|