Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: RFC: Fuse::DBI - mount database as filesystemby dpavlin (Friar) |
on Oct 09, 2004 at 14:08 UTC ( [id://397865]=note: print w/replies, xml ) | Need Help?? |
I guess that my explanation wasn't clear enough: this is not general purpose database to filesystem module: it just allows user to write one SQL query to fetch files (with optional slashes in name to create directory), one SQL query to fetch content and one to update it. This design doesn't allow you to mount whole database as filesystem. It allows you to export one part of data which might be easier editable using filesystem. Concurrent access and locking is solved using transactions. Every write commits transaction to database (which is started at file open). That should solve problems of concurrent access through application and filesystem. I don't have problem with sharing my code (I wouldn't be writing this if I had :-), but I wondered if uploading to CPAN is the right way to share code that depends on other perl modules not available on CPAN. 2share!2flame...
In Section
Meditations
|
|