collinmcnulty opened a new issue, #56554:
URL: https://github.com/apache/airflow/issues/56554

   ### Apache Airflow version
   
   3.1.0
   
   ### If "Other Airflow 2/3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Loading the grid view for a DAG with <100 tasks took 30 seconds. 
Specifically this GET request 
`ui/grid/structure/dag_name?limit=5&order_by=-run_after`
   
   This happens repeatedly across multiple DAGs and on multiple Airflow 
instances.
   
   ### What you think should happen instead?
   
   I think this should be significantly faster. Possibly it could be 
progressive, loading only the data required, like the top level task groups to 
start with?
   
   ### How to reproduce
   
   I'm not sure exactly what triggers the long load time. It's possible that 
mapped tasks are a factor, as we use those frequently. Maybe also the number of 
dag versions? This happens every time we load up the affected DAGs in the Grid 
View.
   
   ### Operating System
   
   debian bullseye
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to