Copied to clipboard

Flag this post as spam?

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


  • Ferdy Roos 1 post 71 karma points
    Dec 28, 2020 @ 09:52
    Ferdy Roos
    0

    Performance issues using Member Group Roles in Umbraco 8.9.1

    We currently have our intranet running on umbraco 7.5.3 with 11 language branches and in total about 21000 pages. Our intranet is growing continuously. We use about 400 Member Groups/Roles with a few thousand users. The roles are synchronized with our active directory. In our current umbraco 7 version IIS is stable and pages are served in 10-20 ms which is acceptable.

    We want to migrate our intranet to Umbraco 8 but we experience serious performance issues when using the Member Group Roles on the pages. This is a breaking issue for us. When we have our database without roles then pages are served in 5-10ms and the website and IIS are stable.

    When we add roles to the pages via Public Access (about 4000 pages with about 15000-20000 roles in total) the serving of pages start at about 60ms. After 10 minutes (about 2000-3000 pages) time goes to 400-600 ms per page and after 30 minutes pages take more than 1200ms to load. Even pages without protection take 500ms-600ms or more. Every page loads slower and IIS memory goes up to 1500-2000Mb after 15-30 minutes. The inital IIS memory starts at about 250MB in the task manager.

    To replicate this, we used the Demo website in umbraco 8 and added a few hundred pages to the 'About us' section and added roles to those pages.

    We use a console application with WebClient for the performance test and for the authorized pages we use WebClient with a CookieContainer.

    Next to the problem above, there seems to be an issue with the maximum number of roles that can be added to a Page. This seems to be dependend of the total concatenated string of all the rolenames that are added to it. No more roles can be added when the total rolenames exeed a length of about 1024 characters. When there are about 15 roles of 90 characters no more roles can be added.

    We can provide you with a copy of the database so that you can reproduce the problem on site.

    Best regards, Ferdy Roos

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    Jan 12, 2021 @ 03:29
    Shannon Deminick
    0

    The issue has been found and resolved. You can see a report here https://github.com/umbraco/Umbraco-CMS/pull/9640 . A GitHub issue was reported for this too here https://github.com/umbraco/Umbraco-CMS/issues/9348

Please Sign in or register to post replies

Write your reply to:

Draft