[erlang-questions] Erlang with BDB

Ahmed Ali <>
Sun Aug 12 09:42:56 CEST 2007


Thanks a lot for the useful information. I'll give this a try and let you
know if I had a problem.

Best regards,

Ahmed Al-Issaei

On 8/10/07, Chris Newcombe <> wrote:
>
>
> Sending this again as I apparently hit 'reply' instead of 'reply all'.
>
> Chris
>
>
> On 8/9/07, Chris Newcombe <> wrote:
> >
> >
> > >> Has any one here used BDB with Erlang before?
> > >> Can anyone share his experience with Erlang & BDB?
> >
> > Yes.  In my opinion and experience, BDB is an excellent match for
> > Erlang.  For instance, BDB is implemented as a C library and it has such
> > high code-quality that it is relatively low risk to use it directly from
> > inside the Erlang VM as a port-driver (shared library).  This gives you a
> > very high performance, concurrent, local-disk transactional store for
> > arbitrary Erlang data.
> >
> > Also, BDB's replication technology is a very interesting option for
> > adding fault-tolerance and scalability to many types of system.
> >
> > I recently spent considerable time enhancing Scott Lystig Fritchie's
> > EDTK project to improve support for BDB, and add support for BDB-HA.  You
> > can find it here:
> >
> >   http://www.snookles.com/erlang/edtk/
> >
> > Important: BDB a 'sharp tool' that can be painful if you mis-use it.  I
> > spent a lot of time making the interface between Erlang and BDB as seemless,
> > natural, and safe as possible (while retaining high performance).  But if
> > you abuse the BDB API ( i.e. violate the documented pre-conditions on a
> > given function, by calling them in the wrong order) then you can still cause
> > any amount of havoc.    Please read the following file careful before use.
> >
> >   http://www.snookles.com/erlang/edtk/edtk-1.5.1.README-cnewcom
> >
> > I hope this helps,
> >
> > Chris
> >
> >
> >  On 8/9/07, Ahmed Ali < > wrote:
> >
> > > Hi All,
> > >
> > > I'd like to use an external BerkeleyDB (BDB) with Erlang. Mnesia is
> > > good for me but requirements are to use BDB or MySQL. I searched in the
> > > internet and found that MySQL has more support for Erlang than BDB but I
> > > want to use BDB. Has any one here used BDB with Erlang before? Can anyone
> > > share his experience with Erlang & BDB? Any information is appreciated.
> > > Thanks.
> > >
> > > Best regards,
> > >
> > > Ahmed Al-Issaei
> > >
> > > _______________________________________________
> > > erlang-questions mailing list
> > > 
> > > http://www.erlang.org/mailman/listinfo/erlang-questions
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070812/13d14064/attachment.html>


More information about the erlang-questions mailing list