Max users in XMPP roster?

吃可爱长大的小学妹 提交于 2019-12-12 02:57:18

问题


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?


回答1:


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.

Consider writing a native ejabberd module that intercept the packet you want and does the needed processing.



来源:https://stackoverflow.com/questions/31205838/max-users-in-xmpp-roster

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!