RAA - fsdb/0.5

fsdb / 0.5

Short description: File System Database
Category: Library/Database
Status: beta
Created: 2003-03-03 02:28:13 GMT
Last update: 2005-08-25 21:57:03 GMT
Owner: Joel VanderWerf (Projects of this owner)
Homepage: http://redshift.sourceforge.net/fsdb
Download: http://redshift.sourceforge.net/fsdb
License: Ruby's
Dependency:
None
Description:

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, around 1K lines of ruby).

fsdb 0.5

- If ruby is 1.8.2 or later, flock doesn't block other threads, so accessing
FSDB databases from a multithreaded app doesn't have to use a lock polling
hack in file-lock.rb. This results in a 12%-17% speed boost. No change to
user code is required.

- Added a _load_ argument to Database#delete, with default +true+. If the
_load_ argument is +false+, delete the object from the db without
loading it or yielding.

- Replaced #id with #object_id.

- For ruby 1.9 compatibility, replaced use of class variables (@@cache and
@@cache_mutex).

Versions: [0.6 (2009-07-19)] [0.5 (2005-08-25)] [0.4 (2004-06-07)] [0.3 (-)]

Edit this project (for project owner)

back to RAA top