Skip to content

Omniauth settings per organization performance regression #6141

@armandfardeau

Description

@armandfardeau

Omniauth settings for each tenant performance issue

Describe the bug
We have observed that the functionality added by #5516 is provoking excessive loading time for pages that include the omniauth_buttons partial.

To Reproduce
We used wrk but any stress tool can do the job.
wrk -t 10 -c 10 -d 60 organization-with-omniauth.tld
and compare the output with:
wrk -t 10 -c 10 -d 60 organization-without-omniauth.tld

Expected behavior
This feature shouldn't affect performance at all.

Screenshots
You can see on the screenshot below that the partial share/omniauth_button_mini is taking 90% of the loading time before 10:55. After 10:55 we disabled the saml connexion in /system the performance is back to normal.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions