RAA - fsdb/0.6

fsdb / 0.6

Short description: File System Database
Category: Library/Database
Status: beta
Created: 2003-03-03 02:28:13 GMT
Last update: 2009-07-19 19:32:05 GMT
Owner: Joel VanderWerf (Projects of this owner)
Homepage: http://fsdb.rubyforge.org/
Download: http://rubyforge.org/projects/fsdb
License: Ruby's
Dependency:
None
Description:

FSDB is now a gem on rubyforge!

Use ‘gem install fsdb’ to install.

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