[jdev] Collaboration on BOSH servlet?

Stefan Strigler steve at zeank.in-berlin.de
Wed Jan 9 03:09:30 CST 2008

Hello Greg,

Am Mittwoch, den 09.01.2008, 16:08 +1100 schrieb Greg Wilkins:

> I've recently been working on using the async features of Jetty to
> scale Cometd/Bayeux to
> 20,000 simultaneous users on one server:
> http://cometdaily.com/2008/01/07/20000-reasons-that-comet-scales/

I already saw it on Ajaxian ;)


> While I understand that much/most/many XMPP applications talk to
> dedicated servers, what is the
> interest in having XMPP/BOSH terminating in a standard java web
> container?

To be able to host a web based jabber client not bound to any specific
server. Have a look at http://jwchat.org. You can connect to almost any
jabber server from there.

> What is the state of the art with regards to XMPP/BOSH servlets.
> Googling reveals a somewhat
> confused and perhaps dated picture?

AFAIK there's only my 'JabberHTTPBind' servlet. It's hosted at
http://zeank.in-berlin.de/jhb/. It implements most of the BOSH spec but
not all IIRC. But I'm pretty sure it won't scale up to 20.000 users :D 

> The BOSH spec looks pretty straight forward and very similar to what
> we have for Bayeux/cometd
> I should be able to implement that in a week or so.    But will that
> be sufficient for XMPP
> clients and servers to use it or will I need to write some XMPP
> adaption/integration stuff
> as well?

You'd have to implement XEP-206 XMPP Over BOSH too.

> Any interest out there for a BOSH transport for cometd/bayeux?

Sorry, you mean a cometd/bayeux transport for XMPP? If so, yes, there
is. Please contact Ian Paterson, author of BOSH and XMPP Over BOSH. He
was working on that topic too (some time ago...).

> Is this the right forum/community to be asking these questions?

Definitely ;)

Cheers, Steve

More information about the JDev mailing list