Jean-Marc Desperrier wrote:
I was just rethinking about the annoyance of not being able to do multiple write acess to the NSS database, and I just wondered if it wasn't likely there would exist somewhere an open source, dbm compatible database with multiple write access.
Either as an extension to te original source, or as an independant implementation with compatible interface.

Every few years, we re-investigate this issue. Last time, we came up empty. Most DBs have licenses incompatible with MPL. I think the mozilla/NSS developer community doesn't want NSS to depend on a DB that isn't as readily reusable and redistributable as the rest of NSS is under MPL.

There are also some technical requirements for a replacement DB.
It should pass the ACID test.  It must not be necessary to shut down all
processes that share the DB to recover when any one such process crashes.
That is a limitation of some DB implementations.  One product that uses
NSS works around that limitation by having a single separate DB process
that manages the DBs, and that serves all DB access requests from other
processes.   However there are access control issues with that approach
that are not well solved on all platforms, IINM.

Perhaps some work will need to be done in NSS to add begin/end transaction
calls (not now present) once we find the suitable candidate.

But they are so many *dbm implementation around that I'm really wondering if one wouldn't fit. I'm still searching though, I saw the sdbm, and mcvoy's mdbm name but don't have full information yet.

Solving this problem is definitely a way to achieve hero status. :)


_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to