Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: clarify troubleshooting performance with Django authentication #570

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Frazew
Copy link

@Frazew Frazew commented Sep 19, 2024

Summary

This PR is related to #283. Feel free (of course) to close if you think it's not necessary!

Using the builtin Django authentication system on the API server results in very significant performance degradation. The documentation already strongy suggests delegating authentication to a load balancer / reverse proxy but some people might still rely on the default authentication while experimenting.

The Troubleshooting section hinted that the performance issue could be due to Django<->database latency, when it is in fact due to the use of PBKDF2 for password hashing.

Using the builtin Django authentication system on the API server results
in very significant performance degradation. The documentation already
strongy suggests delegating authentication to a load balancer / reverse
proxy but some people might still rely on the default authentication while
experimenting.

The Troubleshooting section hinted that the performance issue
could be due to Django<->database latency, when it is in fact due to the
use of PBKDF2 for password hashing.
Copy link

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/2366137d52b54488a02e0bb2ab135787

✔️ ara-tox-py3 SUCCESS in 3m 02s
✔️ ara-tox-linters SUCCESS in 2m 59s
✔️ ara-tox-docs SUCCESS in 3m 14s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant