Cross-server communication method and device based on RSocket, equipment and storage medium

The embodiment of the invention provides a RSocket-based cross-server communication method, apparatus and device, and a storage medium, the method comprising: receiving a connection request sent by a first client, the connection request recording node information of the first client, the node inform...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LIN XINJUN
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 provides a RSocket-based cross-server communication method, apparatus and device, and a storage medium, the method comprising: receiving a connection request sent by a first client, the connection request recording node information of the first client, the node information comprising a role identifier and a node identifier; adding the node information to a routing table, wherein the routing table records node information sent by a plurality of different first clients; and receiving a request message sent by a second client, determining a target node corresponding to the request message according to the routing information recorded in the request message and the node information recorded in the routing table, and forwarding the request message to the target node. According to the scheme, the resource consumption of communication between the sub-servers is remarkably reduced, and the complexity of network maintenance is reduced. 本申请实施例提供了一种基于RSocket的跨服通信方法、装置、设备及存储介质,该方法包括:接收第一客户