directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: [ApacheDS] [Partition] Search Engine - Backend interfacing points
Date Sat, 23 Jun 2007 11:41:09 GMT
OK guys I want to respond to this correctly and after considering all these
links/ideas we have but I'm overloaded.  Will try to hit this thread in a
while
today after processing all my email.

Stay tuned :).

Alex

On 6/21/07, Emmanuel Lecharny <elecharny@gmail.com> wrote:
>
> Ersin,
>
> we have had a kind of discussion with Alex (one night, in front of a
> dozen of beers, rebuilding a better planet), where we decided it would
> definitively be a good idea to have this low level layer where we can
> manage a kind of entry cache instead of managing many different caches
> everywhere. The question we didn't answered is : should this cache be
> cross partition or per partition ?
>
> As far as I remember, it was a cross-partition cache, with a kind of
> managed cache partitioning :
> like 'ou=system' partition will get 40% of the cache, and
> 'dc=example,dc=com' will get 60%, for instance.
> last, not least, we thought that some partition or some entries  might
> be loaded but not discardable from the cache (for instance, the admin
> user).
>
> This is somehow complex, and we need to dig the ideas a little bit
> further...
>
> Emmaanuel
>
> On 6/21/07, Ersin Er <ersin.er@gmail.com> wrote:
> > BTW, what I am trying to do is partially explained here:
> >
> > http://directory.apache.org/apacheds/1.5/attributes-on-demand.html
> >
> > On 6/21/07, Ersin Er <ersin.er@gmail.com> wrote:
> > > Hi,
> > >
> > > The SearchEngine and related classes interface with the actual entry
> > > storage at some points.  What I am looking for is methods such as
> > >
> org.apache.directory.server.core.partition.impl.btree.BTreePartition.lookup
> (
> > > Long id ). It's one implementation is
> > >
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.lookup
> (
> > > Long id ). W
> > >
> > > We can intercept such methods and modify the returning entries from
> > > physical partitions. I have made a simple test but it seems there are
> > > other parts of the server which makes such kind of entry retrieval.
> > >
> > > Any ideas?
> > >
> > > --
> > > Ersin Er
> > >
> > > R.A. and Ph.D Student at the Dept. of Computer Eng. in Hacettepe
> University
> > > http://www.cs.hacettepe.edu.tr
> > >
> > > Committer and PMC Member of The Apache Directory Project
> > > http://directory.apache.org
> > >
> >
> >
> > --
> > Ersin Er
> >
> > R.A. and Ph.D Student at the Dept. of Computer Eng. in Hacettepe
> University
> > http://www.cs.hacettepe.edu.tr
> >
> > Committer and PMC Member of The Apache Directory Project
> > http://directory.apache.org
> >
>
>
> --
> Regards,
> Cordialement,
> Emmanuel L├ęcharny
> www.iktek.com
>

Mime
View raw message