Can I even do this? ejabberd with 500,000 concurrent users scenario.

Hello all.

Here is my problem:
I need to support up to 500,000 concurrent users in a single Multi-User-Chat. ( only about 3 of those users will actually have voice )
Those users will then also connect to smaller MUC's so they can chat amongst themselves. ( "room1", "room2", ect )

to recap: One really big MUC for everyone where only special people can talk but everyone can view, and a few smaller MUC "rooms" for the non special people to chat amongst themselves.

Can a single ejabberd installation handle this scenario or would I need to cluster? Even WITH clustering can ejabberd handle this?

*hopeful*

Re: Can I even do this? ejabberd with 500,000 concurrent users

Even with clustering setup, a room is maintained by one node only, so cluster will not help you too much. Also I don't think it is possible to handle 500k users in one MUC room.

bollocks.

zinid wrote:

Even with clustering setup, a room is maintained by one node only, so cluster will not help you too much. Also I don't think it is possible to handle 500k users in one MUC room.

Bollocks. Has anyone reported having an MUC with a ton of users? I'm just looking for ballpark numbers.

I'm trying to wrap my brain around how many instances I'd need to spin up to support that kind of user load.

Thanks for the reply.

Re: Can I even do this? ejabberd with 500,000 concurrent users

I'm ejabberd developer and I *know* that 500k is impossible. And the problem is not in ejabberd performance only but in clients traffic as well - each client will receive 500k of XML packets when joining a room. In general it takes about 50 MBytes of traffic. You should change the design of your chat system, or use another technology.

hmm

Thanks for that.
I'll have to try something else then.

i have a similar project but

i have a similar project but for each chat room i am planning to have maximum user chatting to be 200 per room but can ejabberd actually handle 500k concurrent user cause facebook chat boast of just running 100 servers to sever 70 million concurrent users chatting. And the claimed using customised ejabberd application. what is the highest concurrent user acheived using ejabberd aside from fb chat....

Syndicate content