开发者

XMPP server-to-server - traffic optimization?

开发者 https://www.devze.com 2022-12-20 19:55 出处:网络
I\'m working on a design for a xmpp chat solution which involves some servers and where at least one s开发者_开发知识库erver is connected with serious bandwidth limitations.

I'm working on a design for a xmpp chat solution which involves some servers and where at least one s开发者_开发知识库erver is connected with serious bandwidth limitations.

Assuming, we have two servers A and B, some users 0..n connected to Server A and some conferences 0..m provided by Server B.

Now assume, some users enter a conference room and a message is sent to that room. Will

  1. Server B send this message once to Server A and Server A distributes it to the users or will
  2. Server B send this message to each individual user of Server A?


According to the protocol spec, XEP 045, multi-user chat messages are reflected independently to each participant. I can't tell on a brief read if it is legal to send them server-to-server without reflecting. However, it might be worth asking this question on an xmpp.org mailing list, where the experts tend to hang out.

0

精彩评论

暂无评论...
验证码 换一张
取 消