You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Woonsan Ko (JIRA)" <je...@portals.apache.org> on 2008/11/20 16:22:44 UTC

[jira] Created: (JS2-917) User home directory path needs to be optimized and customizable.

User home directory path needs to be optimized and customizable.
----------------------------------------------------------------

                 Key: JS2-917
                 URL: https://issues.apache.org/jira/browse/JS2-917
             Project: Jetspeed 2
          Issue Type: Improvement
          Components: PSML
    Affects Versions: 2.1.3
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko
            Priority: Minor
             Fix For: 2.2-M1


Currently, user's home directory is created under a specified folder (e.g. "/_user/admin").
So, if there are many users to create home directory, then it could be problematic in the sense of performance and availability. That is, if there are more than 5000 sub-directories under the /_user/, it will consume much memory and response time.
Therefore, we need a separated interface to play a "home locator" role.
Also, I think the default implementation for the interface should support some predefined variables as most mail servers do. For example, a configuration like '/_user/%2u/%u' can help to locate '/_user/ad/admin' for 'admin' user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-917) User home directory path needs to be optimized and customizable.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko updated JS2-917:
---------------------------

    Fix Version/s:     (was: 2.2-M1)
                   2.3

I think two solutions are possible:
(1) To replace Folder constants like USER_FOLDER by using a home locator interface. (e.g. pageManager.getHomeLocator().getHomeLocation(user) )
(2) To improve or add new FolderHandler and DocumentHandler to CastorXmlPageManager.

Regarding (1), it's not simple to fix this quickly because many codes are using Folder constants directly. Furthermore, DatabasePageManager is using the path directly to query pages. That is, the path is being regarded as a logical path. So, I don't think (1) is a good solution.
The solution, (2), looks better, but it is not simple to fix quickly now either.

> User home directory path needs to be optimized and customizable.
> ----------------------------------------------------------------
>
>                 Key: JS2-917
>                 URL: https://issues.apache.org/jira/browse/JS2-917
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: PSML
>    Affects Versions: 2.1.3
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.3
>
>
> Currently, user's home directory is created under a specified folder (e.g. "/_user/admin").
> So, if there are many users to create home directory, then it could be problematic in the sense of performance and availability. That is, if there are more than 5000 sub-directories under the /_user/, it will consume much memory and response time.
> Therefore, we need a separated interface to play a "home locator" role.
> Also, I think the default implementation for the interface should support some predefined variables as most mail servers do. For example, a configuration like '/_user/%2u/%u' can help to locate '/_user/ad/admin' for 'admin' user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Closed: (JS2-917) User home directory path needs to be optimized and customizable.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko closed JS2-917.
--------------------------

    Resolution: Invalid

For sites having many user directories, JS2 supports database page manager only.

> User home directory path needs to be optimized and customizable.
> ----------------------------------------------------------------
>
>                 Key: JS2-917
>                 URL: https://issues.apache.org/jira/browse/JS2-917
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: PSML
>    Affects Versions: 2.1.3
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> Currently, user's home directory is created under a specified folder (e.g. "/_user/admin").
> So, if there are many users to create home directory, then it could be problematic in the sense of performance and availability. That is, if there are more than 5000 sub-directories under the /_user/, it will consume much memory and response time.
> Therefore, we need a separated interface to play a "home locator" role.
> Also, I think the default implementation for the interface should support some predefined variables as most mail servers do. For example, a configuration like '/_user/%2u/%u' can help to locate '/_user/ad/admin' for 'admin' user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org