News for hackers. Stuff that matters.
Re:Why NoSQL by eru on Tuesday October 05, 2021 @11:28PM (#28768846)
Well, even plain old filesystems are some weird hybrid between key-value stores and graph data bases, too.
Re:Why NoSQL by inopinatus on Tuesday October 05, 2021 @11:31PM (#28768864)
it's sometimes very helpful to think of filesystems as a streamable blob store with a hierarchical key
Re:Why NoSQL by eru on Wednesday October 06, 2021 @02:00AM (#28769697)
That's one valid perspective. But don't forget that you can also seek and mmap etc. And hard-links are a thing, too.

Things like fuse also show that it's easy to view other databases as filesystems, too. As a silly example, you can 'explode' /etc/passwd into individual files per entry. Or you could expose even a relational database as a filesystem.

For the latter, you could do something simple and expose tables as directories and rows as files. Or you could do something dynamic, and eg represent (read-only or idempotent) queries as file-names, and their results as file contents.

That wouldn't be so much a traditional filesystem, but would be accessible via a filesystem interface.

Re:Why NoSQL by tharkun__ on Wednesday October 06, 2021 @12:45PM (#28775244)
I hear AWS DynamoDB is basically just a "key value store interface" to S3 file storage.