Copied to clipboard

Flag this post as spam?

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


  • Mac McDell 73 posts 148 karma points
    Nov 01, 2016 @ 20:29
    Mac McDell
    0

    Saving XML to cache takes a very long time

    I'm on UAAS. We have roughly 700 contentXml items. We are seeing the following entries in our log files and the site becomes unresponsive when publishing new content.

    22:30:56.020    INFO    umbraco.content 
    Saved Xml to file.
    22:30:31.497    INFO    umbraco.content 
    Save Xml to file...
    

    Note the timestamp is ~25 seconds to regenerate the XMLCache

    Should it realistically take the site offline for that amount of time? What happens when we get above 2000 articles? Is this purely processor, memory, hdd write time going on here?

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Nov 14, 2016 @ 17:32
    Alex Skrypnyk
    0

    Hi Mac,

    It looks like something is wrong with your installation, we just tested on similar site and republish takes few seconds, do you have some event handlers on save?

    Thanks,

    Alex

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Nov 14, 2016 @ 17:32
    Alex Skrypnyk
    0

    What database are you using?

  • Mac McDell 73 posts 148 karma points
    Nov 14, 2016 @ 18:12
    Mac McDell
    0

    Hi. We are using Umbraco Cloud so AQL azure 2016. We ended up just disabling the umbraco.config file completely by adding the following setting in umbracoSettings. You can see the result difference here. We have custom content event handling but it processes this stuff in <100 ms on our local machines. We have also tested with local .sqlExpress, Compact CE and regular SQL server. The only times it starts blowing up is on Azure App Service and the time to save is different on each machine.

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Nov 15, 2016 @ 10:26
    Alex Skrypnyk
    0

    Hi Mac,

    I would say that difference is really big. Thanks for sharing, great example.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft