Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Aug 29, 2024 @ 13:52
    Alex Skrypnyk
    0

    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

  • Joppe Ruessink 18 posts 168 karma points
    Aug 29, 2024 @ 14:11
    Joppe Ruessink
    0

    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

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Aug 29, 2024 @ 14:29
    Alex Skrypnyk
    0

    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

  • Joppe Ruessink 18 posts 168 karma points
    Aug 29, 2024 @ 14:36
    Joppe Ruessink
    0

    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

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Sep 03, 2024 @ 15:10
    Alex Skrypnyk
    0

    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

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Sep 03, 2024 @ 15:10
    Alex Skrypnyk
    0

    And this is what disturbing me - APP just restarts at some point - very hard to find the moment when it happens

Please Sign in or register to post replies

Write your reply to:

Draft