[jdev] Re: Presence packets bottleneck on huge rosters

Peter Millard pgmillard at gmail.com
Thu Dec 9 19:19:23 CST 2004

On Thu, 09 Dec 2004 18:09:37 +0100, Mickael Remond
<mickael.remond at erlang-fr.org> wrote:
> On a real server (I have the figure of the Jabber.ru website), the
> biggest roster has more than 900 contacts and 5 percents of users have
> roster with 200 to 400 users.
> So I think the load problem on connect with big roster is not only theoric.

I'm not convinced.. jabber.org has 178000+ registered users (we purge
inactive accounts, so this is a pretty decent number).

The largest roster has 1519 items. Only 100 users have 200+ items in
their roster (this is 0.05%). The average number of roster items is
currently 5.8. The standard deviation of # of roster items is 18.5. So
the VAST majority of our users have VERY small rosters. Also note that
folks with very large rosters are a lot more likely to have a smaller
percentage of users online. So the total # of presence packets is
going to be smaller.

Also please checkout http://status.jabber.org. You can see that normal
operations consume very little bandwidth (for a server) and we're
serving 10000+ users during our peak operations.

Honestly, I think we're worrying about a non-issue. As someone else
brought up, a server could also use JEP-131 to allow remote servers to
do the de-multiplexing of presence packets.


More information about the JDev mailing list