Skip to content

Scaling large MUCs #3526

Answered by badlop
kawaii44 asked this question in Questions
Feb 10, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I have a large persistent MUC with about 30K online users joined.

I guess you refer to a single MUC room, not to the whole MUC service, as described in https://xmpp.org/extensions/xep-0045.html#terms-rooms

There is still plenty of CPU and memory available on the cluster of ejabberd machines.

There may be resources on other ejabberd nodes, but all your 30k clients are connecting to the same MUC room, to the same ejabberd node, right? Maybe you can split the usage of that single room into separated rooms (by spoken language, country, topic, whatever) and let each room be located in different nodes.

On the other hand, I imagine in production you don't plan to put 30.000 human beings chat…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kawaii44
Comment options

Answer selected by mremond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants