[LMDB] Re: [ROADMAP] Catalyst's focus on Samba

Andrew Bartlett abartlet at samba.org
Tue Mar 28 07:15:31 UTC 2017


On Tue, 2017-03-28 at 08:23 +0200, Andreas Schneider via samba-
technical wrote:
> On Wednesday, 22 March 2017 02:02:41 CEST Andrew Bartlett via samba-
> technical 
> wrote:
> > On Tue, 2017-03-21 at 11:49 +0100, Stefan Metzmacher wrote:
> > > Hi Andrew,
> > > 
> > > > Scale
> > > > -----
> > > > 
> > > > Tied up in performance work is a desire to have samba scale
> > > > more,
> > > > to
> > > > serve more user and hold more groups/group members.  The
> > > > direction
> > > > of
> > > > this work is less certain, but having broken the back of the
> > > > 'too
> > > > many
> > > > links melts Samba' issue, I'm sure we will be asked to do more
> > > > here.  
> > > > 
> > > > Specific possibilities include LMDB and a GUID-based index
> > > > scheme.
> > > 
> > > If you play with lmdb, please try to understand how OpenLDAP does
> > > the
> > > indexing. I think we should also make use of the virtual
> > > databases
> > > of lmdb, so that we can keep the index records away from the real
> > > objects.
> > > We could also have the different partitions within a single lmdb
> > > file.
> > 
> > Thanks for the suggestions.  That certainly could make it tidier.
> 
> Jakub Hrozek has a branch with lmdb support and has also written a
> lot of ldb 
> tests. The tests use cmocka. We already use cmocka in Samba.
> 
> It would be great to get those tests upstream first. Let me know if
> you need 
> help with cmocka.

I will keep that in mind!  Has Jakub proposed the tests for inclusion?

As you know, I'm always keen to review patches :-)

While on our roadmap, there isn't any reason to expect the LMDB is
impending, we have plenty of other fish to fry first, so there should
be plenty of time to get those ducks in a row.  

LDB certainly does need more unit tests.

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list