ajax - Improving BOSH Throughput -


i've implemented web chat system using jabber, tigase server , ajax-based client communicating on bosh using jsjac, apache mod_proxy forwarding http traffic tigase. works reasonably well, i've noticed 1 major gap in performance versus desktop jabber client (like exodus), particularly when joining multi-user chat long history of messages.

specifically, monitoring http traffic, appears server can send 1 xmpp message per http request-response cycle. normal usage fine (we're getting 80-100msec round-trip times, isn't bad), when loading muc history can real drag.

so question is: jabber or bosh provide mechanism bundling or streaming messages might apply use case? clients , servers out there implementing already? or have modify tigase , jsjac myself (which possible, not ideal)?

actually, bosh server can collect many responses jabber server , send them 1 single response client. author of 1 such bosh library: http://code.google.com/p/node-xmpp-bosh/.

the response body has nothing request body in case of bosh. mean response , response unrelated request (mostly later request).


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -