i am currently evaluating jabber servers, mostly openfire versus ejabberd, and have a certain setup in
mind that i will need to deploy. In ejabberd it seems to be not possible, or rather not encouraged,
to cluster server over a “weak link”. Let’s say I have a server in china and one in europe, the one
in china is behind “the big firewall of china” and hence connection to the one server in europe
drops all the time. How would openfire (using the enterprise plugin, i guess) handle such situations?
What is the recommended way to deploy such a scenario given that i want to serve one
single domain and give every user the possibility to decide which server to connect to,
then using geoip or something to give them the best one for their area.
I guess this takes a central user database, and that might be a problem of it’s own with
the flakey connection but can be solved by caching or whatever. With ejabberd it seems
that the only way to “cluster” over a weak link seems to be s2s-connections on several
subdomains…if i have a central user-database that wouldn’t be a problem, but how would
china know that user@china now is logged in in europe…when it’s only s2s?
any ideas, directions, comments?