Type |
Bug
|
Priority |
Major
|
Assignee | |
RedmineID |
2457
|
Version |
tigase-server-8.0.0
|
Spent time |
27h
|
Issue Votes (0)
Watchers (0)
Type |
Bug
|
Priority |
Major
|
Assignee | |
RedmineID |
2457
|
Version |
tigase-server-8.0.0
|
Spent time |
27h
|
I am seeing problems with busy MUCs over BOSH. This is what I see:
First test:
I join an empty room with a BOSH based client (I have used Strophe.js and a gloox based one).
I then connect 300 users directly on port 5222 in quick succession (using a node.js based client with node-xmpp) and have them join the same room.
The BOSH based client now thinks there are around 100-160 occupants in the room.
Second test:
I connect 300 users directly on port 5222 and have them join the room.
I connect using a BOSH based client (Strophe.js and gloox) and join the room.
The occupant list is sent 15 items at a time with a delay between batches. Sometimes I get my own presence after about 30 seconds but before the entire occupant list has been received, other times it never shows up.
Third test:
I connect 300 users directly on port 5222 and have them join the room.
I connect using a WebSocket based client (Strophe.js) and join the room.
In less than a second I have an occupant list with 301 entries as expected.
Fourth test:
I join an empty room with a WebSocket based client.
I then connect 300 users directly on port 5222 in quick succession
The WebSocket based client now has an occupant list with 301 entries as expected.
BOSH keeps failing in this regard. I use a Tigase from the dev. branch: Tigase ver. 5.3.0-SNAPSHOT-b3662/c99b076f (2014-09-16/09:42:49)
I could not choose this in the "Target version" or "Applicable version" box so I chose the git/master one.
I have attached a tcpdump of a strophe.js based BOSH session where 115 occupants were received, then my own, but there were 300 users in the room.
300.pcap