From: Joel VanderWerf Date: 2003-03-03T11:35:18+09:00 Subject: [ANN] fsdb FSDB is a file system data base. FSDB provides a thread-safe, process-safe Database class which uses the native file system as its back end and allows multiple file formats and serialization methods. Users access objects in terms of their paths relative to the base directory of the database. It's very light weight (the state of a Database is essentially just a path string, and code size is very small, under 1K lines, all ruby). Here's a simple example: require 'fsdb' db = FSDB::Database.new('/tmp/my-data') db['recent-movies/myself'] = ["LOTR II", "Austin Powers"] puts db['recent-movies/myself'][0] # ==> "LOTR II" db.edit 'recent-movies/myself' do |list| list << "A la recherche du temps perdu" end It's on RAA, or at: http://redshift.sourceforge.net/fsdb/ Browse the docs at: http://redshift.sourceforge.net/fsdb/doc/index.html The test/test-fsdb.rb file has some basic examples. Look at test/test-concurrency.rb if you're interested in how I tested thread and process safety.