Skip to content

UI - Improve refresh rate strategy of the Grid view #62033

@pierrejeambrun

Description

@pierrejeambrun

The grid view is sending a lot of requests to the API. (1 for each dag runs displayed).

With the current refresh rate, it's kind of spamming the API server, for instance if all 10 runs displayed are 'running' 10 requests are send every 3 seconds.

We should probably adjust the refresh rate of the grid view. The grid really is an overview and we probably don't need it's entire information refreshed at the same refresh rate as the rest of the App. This could remove some stress from the API.

For instance we could have the 'selected' dag run refreshing at the default refresh interval (if 'pending' status of course) and have the other dag runs refreshed at a much lower frequency.

Note: Also with all these request happening it actually delays other requests. (http1 -> 6 connections limit per origin)

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions