XMPP名册中的最大用户数? [英] Max users in XMPP roster?
问题描述
假设有一个可以将系统上任何用户的存在信息中继到系统上其他用户的机器人。
Assume there is a bot who relays presence information of any user on the system to any other user on the system.
要使其正常工作,似乎每个用户
For this to work- it seems every user must be added to that bot's roster, correct?
这是一个问题吗,即每个名册的最大用户数量是否受到限制?
Is this a problem- i.e. is there a limit to the max number of user's per roster?
推荐答案
您不想这样做。这不是可扩展的设计。在扩展服务器时,为机器人设置花名册是创建致命瓶颈的最佳方法。
You do not want to do that. This is not a scalable design. Having a roster for the bot with all presence of the server is the best way to create a deadly bottleneck as you scale.
请考虑编写一个本地ejabberd模块来拦截数据包您想要并进行所需的处理。
Consider writing a native ejabberd module that intercept the packet you want and does the needed processing.
这篇关于XMPP名册中的最大用户数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!