Projects tigase _server server-core Issues #372
Poor privacy-lists performance (#372)
Artur Hefczyc opened 1 decade ago
Due Date
2014-10-30

There is a forums thread message#3104 about 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.

Artur Hefczyc commented 1 decade ago

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.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
2309
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#372
Please wait...
Page is in error, reload to recover