Windows-like registry for Linux?

Steven W. Orr steveo at syslang.net
Tue Feb 14 14:38:00 EST 2006


On Tuesday, Feb 14th 2006 at 14:16 -0500, quoth Michael ODonnell:

=>
=>
=>>> A cow-orker is tasked with implementing a lean-
=>>> and-mean registry thingy that's maybe similar
=>>> to the Windows registry, or maybe not.  The real
=>>> goal is for multiple processes/threads to be able
=>>> to perform attribute lookups cheaply and reliably
=>>> and possibly VERY frequently (many thousands/sec)
=>>> with updates possible but very infrequent.
=>>> 
=>>> Anybody know of such a beast?    Maybe a library
=>>> that uses shared memory?
=>>
=>>I would suggest Berkeley DB.
=>
=>
=>Cool.  Thanks.  Not that I have actual knowledge of
=>the subject, but I picture a DB engine as a somewhat
=>ponderous thang.  Would this fit the lean-and-mean
=>requirement?  I think all that's required is that a
=>bunch of cooperating processes be able to do these
=>attribute lookups; will linking them with a DB lib
=>bloat them unreasonably?  If not, then this may be
=>just what he's lookin for...

dbm is very fast up to 10s of millions of records. It's not sql so don't 
expect more. You give a key you get a value. Period. It's teenyweeny so 
all the different clients won't bloat from using them.

 man 3 gdbm

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



More information about the gnhlug-discuss mailing list