We have successfully setup openfire 3.8.2 cluster with hazelcast plugin on two VMs, with the same database server, and did a load testing like below:
user 1 (on node 1) send messages to 50 users (on node2) in a loop. at the same time, user 2 (on node 2) send messages to 50 users (on node1) in a loop,
wait for 1s, repeat step 1 and step 2.
send message about 2m, then wait for about 3m for receiving all message.
it works great with one single openfire server, all message could be received just after sent, but wiht hazelcase plugin, we only could receive little message afther the 3m, the rest are saved as offline messages.
it takes us lots of time but couldn’t find a clue, tried to increase the hazelcase query thread and event thread but didn’t getter better, only one thing might help is that with the monitoring plugin, when all connected to single server, seems the active conversation is created just after the user connected, but with cluster, the conversations are created after a while, any thoughts about this?