Project

General

Profile

Bug #2310

Avatar?id=6023&size=50x50 Avatar?id=6023&size=22x22

Poor performance of message (AMP) plugin

Added by Artur Hefczyc TigaseTeam over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
2014-09-26
Due date:
2014-10-31
% Done:

100%

Estimated time:
Database:
MySQL
Applicable version:
git/master
Source Code Disclaimer:

Description

The forums topic Very low performance discuss some performance tests results and overall poor Tigase performance. One of the metric shows long processing in AMP plugin of 3ms or more. This seems a bit too long. As we have not experienced such a slow processing before, maybe there is some code introduced recently which may result in slow processing.

This needs to be investigated.


Related issues

Related to Tigase XMPP Server - Task #2456: Tigase 5.2.3 releaseClosed2014-11-112014-11-14

Associated revisions

Revision c20d3898 (diff)
Added by Artur Hefczyc TigaseTeam over 4 years ago

Optimized version to avoid calling DB on every packet when there is no privacy lists at all.

History

#1 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam over 4 years ago

  • Status changed from New to In QA

I think the fix I made for privacy lists should also improve performance for AMP any actually all other plugins. There is a privacy lists "filter" method called to check privacy lists on all outbound packets. It suffered from the same frequent DB calls issue. And the filter method is called within plugin thread pool, hence long processing time for plugins.

#2 Updated by Wojciech Kapcia TigaseTeam over 4 years ago

  • Related to Task #2456: Tigase 5.2.3 release added

#3 Updated by Wojciech Kapcia TigaseTeam over 4 years ago

  • Status changed from In QA to Closed
  • Assignee changed from Wojciech Kapcia to Artur Hefczyc
  • % Done changed from 0 to 100
  • Applicable version changed from git/devel to git/master

Also available in: Atom PDF