Hey,
I'm having an issue with my Openfire server sending messages to like 1000 users at once. On my old server it took like 15-30 seconds to send a message via the broadcast plugin to all my users. Now, on the new server it takes like 10 minutes.
The thing is, it's probably not the brodcast plugin being the issue. I wrote a script that connects to Openfire to send the message to all users. Sending the message actually takes less then a second, but it takes a lot of time for people to receive the message. Also sent a message to all online users only. At the time of testing, I had like 150 users being online. Even that took quite some time. Not 10 minutes, but still around 1-2 minutes.
The big difference between the old and the new server ist he CPU. Old server had an Intel Xeon dualcore with 3 GHz/core. The new server has an Intel i3 Quadcore with 1.6 Ghz/core.
So, what's the problem here?
Things I've already tried:
- deleted all offline messages in the DB
- disabled debug logging to reduce i/o
- switched from OpenJDK to Oracle JDK