Disabling auto-refresh from UI has gone missing #53175
Replies: 6 comments 1 reply
-
Why? |
Beta Was this translation helpful? Give feedback.
-
I think - with reactive approach, it's been a deliberate decision to get rid of the old "no-refresh" behaviour. Is there any particular reason why you want to bring it back? What's the reasoning and need ? |
Beta Was this translation helpful? Give feedback.
-
I think since upgrading to Airflow v3, we are seeing those continuous polls have made UI less responsive and putting more load on the backend DB. From UX perspective, I would love to keep auto-refresh enabled for our users though. We are seeing |
Beta Was this translation helpful? Give feedback.
-
I think if you are seeing such long loads, there is something seriously wrong with your setup - for example you gave too little resources to your db or api server. I suggest you look at what is taking so much time - all queries should be ussing indexes and pagination to make things faster. I f you can track it down _ by i section g what is going wrong - which api calls are taking long and looking at corresponding queries in the dn and look at your resource usage you might find the culprit. |
Beta Was this translation helpful? Give feedback.
-
I do agree with you that it shouldn't take that long and there is definitely something wrong with our setup. In pre-prod environments which we have currently upgrade to v3, we allocate less resources, but still it shouldn't have been this slow or get worse after the upgrade (generally performance should improve). Regarding the index use for DB statements, I linked you to the GitHub issue in my previous message where we clearly are not using the index as part of scheduler loop. I enabled Some details about our setup:
Production instance and DBs running Airflow v2.10.x have more resources, but currently the instance running on Airflow v3.0.2 has the above resources. If you have a recommendation (or need more details), that will be of huge help. We can increase the allocated resources and tweak the Airflow configurations. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately - I have no time to debug your setup and configuration - you have to remember that here we help people in our free time. Not sure which Github issue you are talking about - I look at about few hundred issues a day - and it's not very likely I will be helping with that issue. But if refreshing a page takes 3 minutes then you should definitely explain that in the issue including all sql queries and index information you found and explain that this is what happens, because that obviously means that something is wrong. But definitely "disabling auto refresh" is not a solution to the problem. I convert it to a discussion now and if you have the other issue opened with all the details, then I think you should continue conversation there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow version
3.0.2
If "Other Airflow 2 version" selected, which one?
No response
What happened?
After upgrading from Airflow v2 to v3, I am not able to see (👀) a button to disable "auto-refresh" of UI. I looked multiple times making sure I am not missing it, but I am for sure not able to see it.
What you think should happen instead?
How to reproduce
Upgrade to Airflow v3 and I don't see a toggle like in the image anywhere
Operating System
Official Airflow docker image
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions