jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Scalability of UUID 2 Path resolving
Date Fri, 11 Aug 2006 12:49:19 GMT
On 8/11/06, Michael Wechner <michael.wechner@wyona.com> wrote:
> Stefan Guggisberg wrote:
>
> > On 8/11/06, Michael Wechner <michael.wechner@wyona.com> wrote:
> >
> >> Hi
> >>
> >> I tried to figure out how Jackrabbit does the UUID 2 Path resolving and
> >> also wanted to ask if someone
> >> here can share his/her experience re scalability re UUID 2 Path
> >> resolving.
> >>
> >> I was wondering what will happen if one let's say has a million
> >> "documents" with a deep hierarchy and starts to
> >> rename a path just below the root, e.g.  /home/michi/.... to
> >> /home/michael ....
> >
> >
> > that would be a very lean operation. paths are built dynamically in
> > jackrabbit,
> > using a tree-based cache for better performance. the move would just
> > flush the relevant subtree from the path cache.
>
>
> does that mean Jackrabbit keeps a table with a mapping between subtree
> (name) and uuid and also its parent
> and hence is able to build the path dynamically, right?

i seem to have lost you here but i guess having a look at the source code of
o.a.j.core.CachingHierarchyManager will answer your questions.

>
> Are there any known problems associated with this method? What if one
> wants to link from different paths
> to the same UUID (and the resolving wouldn't be unique)?

that's not an issue since JSR170 defines a 1:1 relationship of path and Item
(Node & Property).

>
> Thanks
>
> Michi
>
> >
> > cheers
> > stefan
> >
> >>
> >> Any pointers or hints are very welcome.
> >>
> >> Thanks
> >>
> >> Michi
> >>
> >> --
> >> Michael Wechner
> >> Wyona      -   Open Source Content Management   -    Apache Lenya
> >> http://www.wyona.com                      http://lenya.apache.org
> >> michael.wechner@wyona.com                        michi@apache.org
> >> +41 44 272 91 61
> >>
> >>
> >
>
>
> --
> Michael Wechner
> Wyona      -   Open Source Content Management   -    Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> michael.wechner@wyona.com                        michi@apache.org
> +41 44 272 91 61
>
>

Mime
View raw message