Skip to content

Performance problems with /token endpoint #374

Open
@troeger

Description

@troeger

We are running a Django application with the library on a 5 years old machine:

Prozessor: Opteron 6378 (1.3 GHz)
Python: 3.6
Django: 2.2.16
django-oidc-provider: 0.7.0

We got reports about extremely slow OAuth login flows against our code. A python profiling run showed that Cryptodome seems to take a lot of time for the token generation:

image

I could not find any note or issue at the Cryptodome project about this. The same holds for the django-oidc-provider project. Is this normal and expected? Should that be treated as a problem of our hardware?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions