Re: New HDB backend MDB
Howard Chu <[email protected]>
| Newsgroups | gmane.comp.encryption.kerberos.heimdal.general |
|---|---|
| Message-ID | <[email protected]> |
Love Hörnquist Åstrand wrote: > > 6 dec 2011 kl. 18:02 skrev Howard Chu: > >> Attached is a proof-of-concept implementation of a Heimdal database backend using the new memory-mapped database library (MDB) we've developed in the OpenLDAP Project. It is probably not suitable for production use, just posting it now to get early feedback. >> >> If you're not familiar with MDB you can read about it at the LDAPCon 2011 >> site. The abstract, paper, and presentation slides are all available there. >> >> http://www.daasi.de/ldapcon2011/index.php?site=program >> >> The paper and slides are also available on my site, in addition to the >> Doxygen docs for the library. >> >> http://highlandsun.com/hyc/mdb/20111010LDAPCon-MDB.pdf >> http://highlandsun.com/hyc/mdb/20111010LDAPCon%20MDB.pdf >> http://highlandsun.com/hyc/mdb/ >> >> An implementation for Cyrus SASL sasldb was posted earlier... >> http://asg.andrew.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&msg=9801 >> >> I will also be presenting updated results from MDB at the FLOSSUK LISA conference next Spring in Edinburgh. > > This makes me very happy to hear, we need to switch the default backend that currently is bdb > > I was reading over your implementation when I got the mail and have some generic questions > > - is mdb thread-safe ? Within certain rules, yes. (A single thread must only have a single outstanding read transaction.) > - can it handle multiple (processes) readers/writers ? Yes. > - mdb_get documentation doesn't mention the lifetime of the memory return, valid during the transaction ? Yes. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/