Openfire (ARCHIVED)

Improve login performance by reducing PEP work

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.4.2
  • Fix Version/s: 3.4.3
  • Component/s: Core
  • Labels:
    None
  • Acceptance Test - Add?:
    No

Description

When a user logs in the PEP module executes a DB query for each contact that the user has in the roster. This is slowing down the login process and the entire server in general. Lets queue this work and be processed by another thread.

A further optimzation (if needed) could be to cache the "no PEP service" to prevent executing queries for users that do not have a PEP service.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: