You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2009/04/22 17:59:47 UTC
[jira] Created: (SLING-936) The use of the JR UserManager may not
scale.
The use of the JR UserManager may not scale.
--------------------------------------------
Key: SLING-936
URL: https://issues.apache.org/jira/browse/SLING-936
Project: Sling
Issue Type: Improvement
Reporter: Ian Boston
By default the CreateUserServlet and CreateGroupServlet create users under the node of the current user, or the base node if no current user (anon). For systems that want have more than a few 1000 users or groups this will make add and possibly access slow as the parent nodes will become large.
Patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-936) The use of the JR UserManager may not
scale.
Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Boston resolved SLING-936.
------------------------------
Resolution: Invalid
Although the patch would help scalability, its perfectly possible to achieve the same results in an extension bundle, I am therefore closing this as invalid since its probably not necessary for core Sling.
> The use of the JR UserManager may not scale.
> --------------------------------------------
>
> Key: SLING-936
> URL: https://issues.apache.org/jira/browse/SLING-936
> Project: Sling
> Issue Type: Improvement
> Reporter: Ian Boston
> Attachments: SLING-936.patch
>
>
> By default the CreateUserServlet and CreateGroupServlet create users under the node of the current user, or the base node if no current user (anon). For systems that want have more than a few 1000 users or groups this will make add and possibly access slow as the parent nodes will become large.
> Patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-936) The use of the JR UserManager may not
scale.
Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Boston updated SLING-936:
-----------------------------
Attachment: SLING-936.patch
This patch adds a 3 level tree based on a sha1 of the user name and a bit of JVM instance entropy (the ms time the Servlet was created)
I still need to do some more testing, but it builds and I think addresses the issue.
> The use of the JR UserManager may not scale.
> --------------------------------------------
>
> Key: SLING-936
> URL: https://issues.apache.org/jira/browse/SLING-936
> Project: Sling
> Issue Type: Improvement
> Reporter: Ian Boston
> Attachments: SLING-936.patch
>
>
> By default the CreateUserServlet and CreateGroupServlet create users under the node of the current user, or the base node if no current user (anon). For systems that want have more than a few 1000 users or groups this will make add and possibly access slow as the parent nodes will become large.
> Patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-936) The use of the JR UserManager may not
scale.
Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701667#action_12701667 ]
Ian Boston commented on SLING-936:
----------------------------------
The current patch has been tested with a bash script and curl and appears to be keeping the add user response time linear, although initially the operation takes slightly longer. (presumably as a result of populating the parts of the tree on each new user)
> The use of the JR UserManager may not scale.
> --------------------------------------------
>
> Key: SLING-936
> URL: https://issues.apache.org/jira/browse/SLING-936
> Project: Sling
> Issue Type: Improvement
> Reporter: Ian Boston
> Attachments: SLING-936.patch
>
>
> By default the CreateUserServlet and CreateGroupServlet create users under the node of the current user, or the base node if no current user (anon). For systems that want have more than a few 1000 users or groups this will make add and possibly access slow as the parent nodes will become large.
> Patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-936) The use of the JR UserManager may not
scale.
Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Boston updated SLING-936:
-----------------------------
Attachment: SLING-936.patch
Very small change to the patch to make the path ab/ef/f3/ rather than a/b/e
> The use of the JR UserManager may not scale.
> --------------------------------------------
>
> Key: SLING-936
> URL: https://issues.apache.org/jira/browse/SLING-936
> Project: Sling
> Issue Type: Improvement
> Reporter: Ian Boston
> Attachments: SLING-936.patch
>
>
> By default the CreateUserServlet and CreateGroupServlet create users under the node of the current user, or the base node if no current user (anon). For systems that want have more than a few 1000 users or groups this will make add and possibly access slow as the parent nodes will become large.
> Patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-936) The use of the JR UserManager may not
scale.
Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Boston updated SLING-936:
-----------------------------
Attachment: (was: SLING-936.patch)
> The use of the JR UserManager may not scale.
> --------------------------------------------
>
> Key: SLING-936
> URL: https://issues.apache.org/jira/browse/SLING-936
> Project: Sling
> Issue Type: Improvement
> Reporter: Ian Boston
> Attachments: SLING-936.patch
>
>
> By default the CreateUserServlet and CreateGroupServlet create users under the node of the current user, or the base node if no current user (anon). For systems that want have more than a few 1000 users or groups this will make add and possibly access slow as the parent nodes will become large.
> Patch to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.