apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: cvs commit: apr-util/dbm/sdbm sdbm.c
Date Tue, 08 May 2001 18:46:18 GMT
From: "Sander Striker" <striker@samba-tng.org>
Sent: Tuesday, May 08, 2001 1:17 PM


> [...]
> >> ... uh.... have you looked at tdb?  http://sourceforge.net/projects/tdb
> >
> > Nice code, limited portability however.  Some network locking schemas will
> > grab the one-byte lock and lock down the page.  Don't know if that will
> > break the schema.
> 
> Well, samba uses it pretty heaviliy. I don't know about the limited
> portability, could you expand on this? (is it limited to *nix or do you
> refer to something else?)

Strictly non-unixes, AFAIK.  If I lock bytes 40-44 on a Win32 file on a network
share or under win9x, I'm locking bytes 0-4095.  It's not really good about
byte ranges, except perhaps on the local NT volume between processes.

> > The other [obvious] issue is licensing.
> 
> As always :-) It's GPL isn't it?

Exactly :-)

> > But if you cared to add the appropriate connector within apr_dbm, I don't
> > see anyone objecting.  The whole idea behind apr_dbm is to extend to such
> > 3rd party databases such as the 'biggies' (ndbm, gdbm etc), or our own
> > lightweight solution (sdbm).
> >
> > We aren't trying to make sdbm 'the answer' to a shared database
> > across 1,000 servers in a cluster :-)  Just a simple dropin where
> > no other (efficient) alternative exists.
> 
> Right, good reasons :-)





Mime
View raw message