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 :).
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
This is somehow complex, and we need to dig the ideas a little bit further...
On 6/21/07, Ersin Er < firstname.lastname@example.org> wrote:
> BTW, what I am trying to do is partially explained here:
> On 6/21/07, Ersin Er <email@example.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
> Committer and PMC Member of The Apache Directory Project