I have been doing some testing over the last few weeks and found that when I remove the Cache variables and scheduled endpoints the dashboard runs quite smooth, I haven’t had to restart my Azure Web App in days.
In my last version of my dashboard I had 7 Cache Variables in 4 Scheduled endpoints and would need to reboot it everyday on a schedule. even some days with heavy traffic on the dashboard the elements would load very slowly and would need to reboot multiple times.
So I have modified my dashboard to use minimal session variables and no cache variables, but the rest loading on-demand within UDGrids and Tables. I changed the inputs from UDInput to UDSelect, UDText etc… then calling the Get-UDElement -Id ‘udselect’ within an onchange or onclick. This works so much faster but obviously does not fix the issue at hand.
All my endpoints pull data from Azure Logic Apps and Functions - I also moved my Azure Functions from a dedicated app service plan to consumption which I have noticed a huge improvement in pulling data from UD.