Skip to content

Multi Team: /dags screen is very slow to load with multiple teams #69041

Description

@stephen-bracken

Under which category would you file this issue?

Airflow Core

Apache Airflow version

3.2.1

What happened and how to reproduce it?

We have onboarded approximately 10 teams onto a multi-team airflow instance, and have dags on the order of hundreds, and now the /dags screen takes approximately 10 seconds to load. Our test Airflow has only one team and the /dags screen loads almost instantly.

What you think should happen instead?

Since the Keycloak Auth Manager already uses caching, perhaps we need the api server to send out multiple calls simultaneously to evaluate dag permissions?

Operating System

Debian GNU/Linux 12 (bookworm)

Deployment

Other Docker-based deployment

Apache Airflow Provider(s)

keycloak

Versions of Apache Airflow Providers

apache-airflow-providers-keycloak==0.7.1

Official Helm Chart version

Not Applicable

Kubernetes Version

1.33.5

Helm Chart configuration

No response

Docker Image customizations

Some additional pip and apt packages

Anything else?

Multi team deployment using the Keycloak Auth Manager

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.area:providerskind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetprovider:keycloak

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions