我不完全确定如何进行多个服务器相互通信,我的意思是,例如:服务器 1 上的用户 A 想要向服务器 2 上的用户 B 发送私人消息,用户 A 将消息发送给他各自的服务器(服务器 1),从这一点开始,服务器 1 应该如何将消息传输给用户 B?
问问题
162 次
1 回答
0
With the minimal information in the question it's very hard to point you in the right direction, here are some pointers to possible solutions for the problem of sending messages to destinations you cannot readily locate at the time of sending the message:
- Microsoft MQ, maybe not the freshest product in the message broker arena, but as far as I know its a nice product.
- You could use a XMPP (Jabber) server, that's the same technology Google Talk is using. Lots of libraries are available to integrate that protocol with most common languages.
- Any of the existing open source messaging softwares with connectors for .net languages like Apache ActiveMQ
An article that could also help you to see clearer in your requirements is this comparison between message systems based on a broker and those that don't use a broker. Both solutions I suggest above use brokers by the way.
于 2012-11-08T23:00:18.707 回答