Umbraco 10 SaveAndPublish method is very slow on Azure
Hi,
We are facing a very strange issue: The SaveAndPublish method on Azure is 5-10 times slower than in a local environment.
Is it something we can fix with some settings? Any idea?
It often happens that developing locally is faster than in Azure. This is usually the case when a low plan has been chosen for Azure with relatively little performance
Furthermore, saving content can become slow when the SaveAndPublish notification within the Umbraco code is hooked into. This is done by means of so-called "notification handlers". Is this the case in your situation?
We do not have Notifications at all, just SaveAndPublish is super slow, I assume that there are maybe too many content versions in the database and it causing a slow SaveAndPublish but now sure and don't know what should we do to fix it
Are you also using an Azure SQL DB? If so you can see so called "expensive" queries in the portal. Maybe this will give you an idea what takes so long when saving and publishing content.
There are no "expensive" queries. It's just too many times called SaveAndPublish on different nodes in a small amount of time - and this causing APP restart at some point without any messages in the log
Umbraco 10 SaveAndPublish method is very slow on Azure
Hi,
We are facing a very strange issue: The SaveAndPublish method on Azure is 5-10 times slower than in a local environment. Is it something we can fix with some settings? Any idea?
Thanks,
Alex
Hi Alex,
It often happens that developing locally is faster than in Azure. This is usually the case when a low plan has been chosen for Azure with relatively little performance
Furthermore, saving content can become slow when the SaveAndPublish notification within the Umbraco code is hooked into. This is done by means of so-called "notification handlers". Is this the case in your situation?
Greeting, Joppe
Hi Joppe
We do not have Notifications at all, just SaveAndPublish is super slow, I assume that there are maybe too many content versions in the database and it causing a slow SaveAndPublish but now sure and don't know what should we do to fix it
Any other idea?
Alex
Hi Alex
Are you also using an Azure SQL DB? If so you can see so called "expensive" queries in the portal. Maybe this will give you an idea what takes so long when saving and publishing content.
Greetings, Joppe
There are no "expensive" queries. It's just too many times called SaveAndPublish on different nodes in a small amount of time - and this causing APP restart at some point without any messages in the log
And this is what disturbing me - APP just restarts at some point - very hard to find the moment when it happens
is working on a reply...