Fog Creek Software
Discussion Board




GDBM experiences?

Anyone here ever used GDBM as a backend database for a CGI driven website?

FoobarSQL is overkill, plus it would meaning learning SQL.

GDBM appeals to me for it's simplicity. It's just a big map<string,string> on a file.

Anyway, I'm happy that only one writer can open the file at once, but how does it hold up under a load? Say I'm in the middle of editing some stuff and the slashdot effect comes my way (yeah right) and 58,000 readers open my file.

Any comments please?

Bill Godfrey
Friday, June 20, 2003

--learning SQL
For the most part you can learn basic SQL in a day.

Anyway, I used BerkeleyDB with modPerl and it handled load testing well. It depends on where your talent is and what you eventually want to get accomplished.

Tom Vu
Friday, June 20, 2003

GDBM seeks same for friendship possibly leading to a relationship...

Guy Incognito
Saturday, June 21, 2003

I'm using Berkeley DB with my blog, which is implemented by a bundle of Python CGI scripts. I would have used SQL, but the (nicely inexpensive) site hosting service I use charges extra for access to mysql, and db3 is good enough that I don't feel like paying extra.

You could use gdbm, or Berkeley DB, or any other implementation of the same thing, depending on what's available where you need to run it.

Adam Fitzpatrick
Monday, June 23, 2003

*  Recent Topics

*  Fog Creek Home