RAA - fsdb/0.4

fsdb / 0.4

Short description: File System Database
Category: Library/Database
Status: beta
Created: 2003-03-03 02:28:13 GMT
Last update: 2004-06-07 04:21:40 GMT
Owner: Joel VanderWerf (Projects of this owner)
Homepage: http://redshift.sourceforge.net/fsdb
Download: http://redshift.sourceforge.net/fsdb/fsdb-0.4.tgz
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.4

- Fixed a problem that caused nested transactions to fail on windows. (The
source of the problem is that there is no way to calculate a unique file
id on Windows, and File::Stat#ino always returns 0. The workaround is to
use the file path, although it might not be unique, due to links on NTFS
or Samba, for instance. FSDB does try to use a canonical version of the
path.)

This fix also improves the speed of db access on windows.

- Disable the fcntl-lock extension on systems that do not already have flock.
(It still works on linux, which is where it is useful, since it allows locking
over NFS mounts.)

- Fix for file locking on Win 95/98/ME: File#lock_exclusive and
File#lock_shared always just use LOCK_EX on those OS's. Thanks to
Matija Kejzar for reporting this.

- Added examples/indexes.rb to show use of rbtree indexes of objects in a db.
(Requires that rbtree be built and installed separately.)

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