LDAP User save account causes performance decrease

Created on 21 December 2023, 6 months ago
Updated 15 March 2024, 3 months ago

Problem/Motivation

After load testing an application with Locust, the ldap_user module saveAccount method on each login was causing a very large performance hit. Two screen shots have been attached showing the load caused by the account save.

Steps to reproduce

Set up a load test using Locust, jMeter etc, and hit the application for around 6000 users with a spawn rate of 6, you should see a bottleneck begin to form when updating the account.

Proposed resolution

Only update the account if a change is detected.

Remaining tasks

Possibly refactor the provided patch.

Data model changes

Account save only to change when the account changes.

πŸ“Œ Task
Status

Postponed

Version

4.0

Component

Code

Created by

πŸ‡¦πŸ‡ͺUnited Arab Emirates leslie.cordell Dubai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024