1
votes

Is there a limit on maximum of participants in a multi user chat (MUC) on XMPP? If the number of participants is very large, in this case what will be the drawback for using MUC vs PubSub, assuming the communication is only one-to-many i.e. only Group Administrator sends messages to participants, like PubSub?

1

1 Answers

2
votes

There is no hardcoded limit in ejabberd. All depends on your use case and your MUC configuration. You can even use MUC without broadcasting presence to other members. This is defined as options muc#roomconfig_presencebroadcast in XEP-0045.

As such it can behave much like Pubsub, but taylored at a chat use case.

This is, among other things, a topic that is dealt in an ejabberd talk: Implementing State of the Art One-to-Many Chat Services with ejabberd - ejabberd Workshop #1 (Video).