FSDB

A file system data base that comes with a thread-safe, process-safe Database class
Download

FSDB Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • FSDB Team
  • Publisher web site:
  • http://rubyforge.org/projects/fsdb/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 48 KB

FSDB Tags


FSDB Description

A file system data base that comes with a thread-safe, process-safe Database class FSDB is a file system data base. FSDB provides a process- and thread-safe Database class that will use the native file system as its back-end and allows multiple serialization methods and file formats. 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).FSDB stores bundles of ruby objects at nodes in the file system. Each bundle is saved and restored as a whole, so internal references persist as usual. These bundles are the atoms of transactions. References between bundles are handled through path strings. The format of each bundle on disk can vary; format classes for plain text strings, marshalled data, and yaml data are included, but FSDB can easily be extended to recognize other formats, both binary and text. FSDB treats directories as collections and provides directory iterator methods.FSDB has been tested on a variety of platforms and ruby versions, and is not known to have any problems. (On WindowsME/98/95, multiple processes can access a database unsafely, because flock() is not available on the platform.) See the Testing section for details.FSDB does not yet have any indexing or querying mechanisms, and is probably missing many other useful database features, so it is not a general replacement for RDBs or OODBs. However, if you are looking for a lightweight, concurrent object store with reasonable performance and better granularity than PStore, in pure Ruby, with a Ruby license, take a look at FSDB. Also, if you are looking for an easy way of making an existing file tree look like a database, especially if it has heterogeneous file formats, FSDB might be useful. What's New in This Release: · Improved gem packaging. · Fixed paths in tests.


FSDB Related Software