[Standards-JIG] Re: MUC traffic issues

Alexander Gnauck gnauck at ag-software.de
Sun Feb 19 20:25:39 UTC 2006


> Basically the problem that i ran into was the sheer amount of messages.
> In a bigger chat environment you have more, but while testing i used 
> 1000 users on one server.
> 
> When i have 1000 users, sendin 2 messages per minute each, packed in 
> rooms with 50 users each, i have 2000 messages per minute * 50 
> participients = 100000 messages per minute.
> This means 2000 messages per second.
> 
> In case of external component:
> * These 2k messages must come into the server
> * 2k messages must go out of the server
> 
> Means 4k messages per second. This is not such a big problem with 
> ejabberd and a fairly new machine, actually, i could scale on one 
> machine up to 2000 users under these circumstances. Anyway, it won't 
> distribute inside the cluster (session database is the keyword, and the 
> queries to the session database to check on which server inside the 
> cluster a user resides).

And if 250 users of your chat server are located on jabber.org and 250 
on jabber.ru both of this servers have a overhead of 249 incoming s2s 
mesages. Which is a overhead of about 2500 stanzas now on all 3 servers.

Alex




More information about the Standards mailing list