<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: complex ACL and performance impact? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104757#M29692</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Huge number of users/groups without inheritance can even cause acl trackers to fail as well due to heavy payload being sent to solr nodes.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;nbsp; --&amp;gt; When you a lot of folders/files where you have disabled the permission inheritance, then it would degrade the performance of queries&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is recommended to make more and more use of groups in this situation and add users requiring appropriate permissions to the groups.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Write a script/webscript to find out nodes where you have disabled the inheritance, analyse and tune it accordingly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Admin bypasses the permissions that's why you get proper results.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Enable following logs and see if you can find something:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug
log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=INFO
log4j.logger.org.alfresco.solr.query.AbstractQParser=DEBUG
log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=DEBUG&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN&gt;Also have a look at this tech talk on permissions:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.alfresco.com/video/tech-talk-live-" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.alfresco.com/video/tech-talk-live-&lt;/A&gt;&lt;STRONG&gt;think-twice-changing-permissions-demand&lt;/STRONG&gt;?mkt_tok=eyJpIjoiTVRBd1lqZG1NRFEzTm1ZeCIsInQiOiJaRmxaWmtRRHJiMFV3alVIRWxwZG9iREx4TzlHdlZFekU1UUU3V0pPeWFKeWdmNVFkTGRMQUxLSk1nUjdzNmF6N0htV1IrNnprZWhVaHBKeHQ2V2hvVHAzc3NBSkNIcW9lSnJsYVNhckZKZEd2WU5kUjVzWjdwcmloYmRBWEFUeSJ9&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 13:25:54 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2021-03-22T13:25:54Z</dc:date>
    <item>
      <title>complex ACL and performance impact?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104754#M29689</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have rather complex requirements for access rights, it will end up with lots of groups and users assigned to the node (folder) without inheritng permissions. I wonder will it affect search and retreival performance? It seems to work fine in dev environemnt with small number of folders and limited number of groups but I would like to know what happens when repository starts to grow? I am worried that permision evaluation may impact performance.&lt;/P&gt;&lt;P&gt;Is there any general recomendation to stay on the safe side?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 14:00:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104754#M29689</guid>
      <dc:creator>LiamMichael</dc:creator>
      <dc:date>2020-11-10T14:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: complex ACL and performance impact?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104755#M29690</link>
      <description>&lt;P&gt;"It is a best practice to not break the inheritance as much as possible"&lt;/P&gt;
&lt;P&gt;It will eventually impact the search performance as your list grows. Limiting number of users to a group and add groups may be helpful in your case. You should prefer to do a round testing with N set of users/groups and measure the impact before deciding to take this approach to production system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Huge number of users/groups without inheritance can even cause acl trackers to fail as well due to heavy payload being sent to solr nodes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&amp;nbsp; Can provide better details&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 14:43:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104755#M29690</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-11-10T14:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: complex ACL and performance impact?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104756#M29691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;, could you please explain me better what you mean by "&lt;SPAN&gt;Huge number of users/groups without inheritance can even cause acl trackers to fail as well due to heavy payload being sent to solr nodes.&amp;nbsp;&lt;/SPAN&gt;"? How to identify this kind of problems?&lt;/P&gt;&lt;P&gt;I am in a similar situation: a lot of users/groups and low inheritance usage (Alfresco 5.2 instance with about 7 milion nodes).&lt;/P&gt;&lt;P&gt;Often the customer contacts us because some documents are not available in search results (Solr query).&lt;BR /&gt;The same query run as "admin" retrives all the expected results; it looks like the "bad" nodes are indexed but there is something wrong with ACL in Solr.&lt;/P&gt;&lt;P&gt;Reindexing a specific node by nodeId (https://localhost:8443/solr4/admin/cores?action=REINDEX&amp;amp;nodeid={nodeid}) or txid (https://localhost:8443/solr4/admin/cores?action=REINDEX&amp;amp;txid={txid}) solves the problem.&lt;/P&gt;&lt;P&gt;No errors in solr (or Alfresco) logs.&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 11:31:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104756#M29691</guid>
      <dc:creator>luca_ow</dc:creator>
      <dc:date>2021-03-09T11:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: complex ACL and performance impact?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104757#M29692</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Huge number of users/groups without inheritance can even cause acl trackers to fail as well due to heavy payload being sent to solr nodes.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;nbsp; --&amp;gt; When you a lot of folders/files where you have disabled the permission inheritance, then it would degrade the performance of queries&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is recommended to make more and more use of groups in this situation and add users requiring appropriate permissions to the groups.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Write a script/webscript to find out nodes where you have disabled the inheritance, analyse and tune it accordingly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Admin bypasses the permissions that's why you get proper results.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Enable following logs and see if you can find something:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug
log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=INFO
log4j.logger.org.alfresco.solr.query.AbstractQParser=DEBUG
log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=DEBUG&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN&gt;Also have a look at this tech talk on permissions:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.alfresco.com/video/tech-talk-live-" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.alfresco.com/video/tech-talk-live-&lt;/A&gt;&lt;STRONG&gt;think-twice-changing-permissions-demand&lt;/STRONG&gt;?mkt_tok=eyJpIjoiTVRBd1lqZG1NRFEzTm1ZeCIsInQiOiJaRmxaWmtRRHJiMFV3alVIRWxwZG9iREx4TzlHdlZFekU1UUU3V0pPeWFKeWdmNVFkTGRMQUxLSk1nUjdzNmF6N0htV1IrNnprZWhVaHBKeHQ2V2hvVHAzc3NBSkNIcW9lSnJsYVNhckZKZEd2WU5kUjVzWjdwcmloYmRBWEFUeSJ9&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 13:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complex-acl-and-performance-impact/m-p/104757#M29692</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-03-22T13:25:54Z</dc:date>
    </item>
  </channel>
</rss>

