Poor privacy-lists performance
There is a forums threadabout performance problems with Tigase XMPP Server. As it turns out the main bottleneck was privacy-lists plugin. We have run a lot of tests in the past and privacy-lists was never an issue. Please review recent code changes in the plugin to ensure they did not affect performance.
The problem described on a topic is most likely related to their specific use case, that they send messages very soon after user login and a large number of them. So they all hit Tigase when it loads privacy lists from DB after user login. It is likely that once privacy lists are loaded (even if they do not exist) there would be no performance impact afterwards.
#2 Updated by Artur Hefczyc over 4 years ago
- Status changed from New to In QA
I think I fixed the problem but it needs to be verified if it works and if it indeed improves performance. I committed code but forgot to add the ticket number to commit message.
There was a DB call on every single packet if there is no privacy lists. I modified the code so DB is called only once.