[jdev] Multiplexing large number of client connections

Tomasz Sterna tomek at xiaoka.com
Mon Jan 25 15:32:53 CST 2010


Dnia 2010-01-22, pią o godzinie 10:38 -0800, RaviKant Cherukuri pisze:
> Is there a way to multiplex multiple client streams each belonging to
> a different user on the same TCP connection?

jadc2s does that for jabberd14 and jabberd2 has it built-in with its c2s
component. c2s component job is to accept client connections and route
all jabber:client stanzas over one connection to jabberd2 router
component. This way you may handle client connections on different IP
addresses and different machines balancing load and overcoming 65k
connections per one IP address limitation of IP protocol.



-- 
Tomasz Sterna
Instant Messaging & EDI Consultant
Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/



More information about the JDev mailing list