“Server” to “Server” ZeroMQ communication

前端 未结 2 1645
栀梦
栀梦 2020-12-16 07:51

I want to build a system that has the following architecture:

+------------------+          +------------------+
| App1. 0mq client | <------> | App2.          


        
2条回答
  •  轮回少年
    2020-12-16 08:31

    Though I am not expert but I once implemented a similar platform.

    An additional layer of signaling (REQ/REP) from App2->App1 could do that.

    Everytime App2 comes online, a msg should be conveyed to App1.

    A separate thread in App1 would be able to receive this msg from App2 anytime.

提交回复
热议问题