[JDEV] Jabber load balancing
Anders Qvist
quest at valdez.netg.se
Sat May 6 13:58:42 CDT 2000
On Fri, 5 May 2000, Tyron Stading wrote:
> Can someone tell me how many users Jabber is able to support?
Nobody really knows. In theory, tens of thousands.
> Is the socket connection persistent?
Yes.
> How does the routing for the name resolution work? (i.e.- if
> person at jabber.org is at person at server1.jabber.org (because of load
> balancing), how would that message be able to reach that person)
The current scheme doesn't support that. There has been talk about a
mechanism whereby the server will refuse someone to log in, but will
provide the name of another server to try instead.
> I am trying to develop a clustering of these servers, but I needed to know
> more about how things worked (and I couldn't find anything on the Web
> site). Thanks for your help in advance.
Given that the TCP connection is persistent, making Jabber servers
failover is tricky. Load balancing can be achieved only in that
clients are evenly distributed among a cluster of servers. You also need
to centralise the data storage for user messages/rosters.
Anders "Quest" Qvist
NetGuide Scandinavia
And we who listen to the sky, or walk the dusty grade,
Or break the very atoms down, to see how they are made,
Or study cells, or living things, seek truth with open hand;
The profoundest act of worship is to try to understand.
-- Catherine Faber, "The Word of God"
More information about the JDev
mailing list