[jdev] Sharing a single connection for multiple users

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Tue Feb 26 23:21:29 CST 2008

On Tuesday 26 February 2008 7:48 pm, Andrew Miehs wrote:
> Would I need to create one connection to the jabber server for each
> web user, or can
> I use one connection per web server? I am a little worried about how
> well thousands
> of connections per server would scale.

This is not a protocol issue, but an internal server implementation issue.  If 
you feel you need to handle so many connections that a single computer cannot 
handle the load, then the answer is to distribute the load across many 
computers.  Look for server software that supports clustering, such as 
ejabberd, or one that supports edge servers such as jabberd+jadc2s.


More information about the JDev mailing list