Message interaction method among multiple hosts based on memory database
The invention discloses a message interaction method among multiple hosts based on a memory database. A plurality of host nodes is included, and all the host nodes are connected with a content database. The method for message interaction among multiple hosts comprises the following steps: establishi...
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 discloses a message interaction method among multiple hosts based on a memory database. A plurality of host nodes is included, and all the host nodes are connected with a content database. The method for message interaction among multiple hosts comprises the following steps: establishing a memory database intermediate table with a service processing flow; writing a message needing tobe sent and a destination node into a memory database intermediate table by a host node; regularly polling the database intermediate table by all host nodes; and if the message sent to the node or the message which is not sent by the node and does not specify the destination node exists in the database intermediate table, reading and processing the message. Message interaction among multiple hosts of the distributed system is realized on the basis of the memory database, the problem of low-speed and high-delay data information transmission among the multiple hosts in a distributed environmentis solved, and the method |
---|