Files
ironic/releasenotes/notes/bcrypt_cache-d78775ff02f2d970.yaml
Steve Baker 2a62718887 Memoize calls to bcrypt.checkpw
This intentionally high CPU overhead function is called for every API
and JSON-RPC request when Basic HTTP authentication is enabled. With the
recent indirection enablement this is causing a performance regression
for Metal3 due to the extra JSON-RPC calls. This change would improve
the performance of all branches of Metal3 if backported.

Change-Id: I2740035d2882aacddca9c541362d6e533140650f
Closes-Bug: #2121105
Signed-off-by: Steve Baker <sbaker@redhat.com>
2025-08-22 10:58:06 +12:00

7 lines
262 B
YAML

---
fixes:
- |
Performance of Basic HTTP authentication has been improved by keeping a
memory cache of bcrypt password checks. This improves the performance of
Ironic conductor with JSON-RPC, and API access when using Basic HTTP
authentication.