[jdev] Multiplexing large number of client connections

Peter Saint-Andre stpeter at stpeter.im
Fri Jan 22 15:22:39 CST 2010


On 1/22/10 11:38 AM, RaviKant Cherukuri wrote:
> Is there a way to multiplex multiple client streams each belonging to a
> different user on the same TCP connection? 

No.

> The closest I could find was
> the BOSH XEP that talks about multiplexing using some sort of a session
> id. Is there a way to do this on a TCP connection? If not, is BOSH a
> recommended way of doing this?

There really is no recommended way of doing this.

> Federation would be great for this but if the target network does not
> support federation, and a gateway is connecting as a client (I think
> meebo does this), are there any XMPP tricks that can help me out?

IMHO connecting a gateway as a client is a bad idea, and perhaps even
abusive (most public XMPP services will limit the number of simultaneous
resources / full JIDs that you are allowed to have).

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6820 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20100122/1f8d4265/attachment.bin>


More information about the JDev mailing list