News for hackers. Stuff that matters.
Re:Ash HN: What if we use file system as database? by ilaksh on Thursday October 05, 2023 @09:46AM (#37778546)
For many years, I built most projects on top of a relational DB.

Then NoSQL happened.

After NoSQL became less popular, I started defaulting to JSON files, if I thought I could make it work.

One thing that helps a file-based DB is to make sure you put something useful in the filename (and/or path). Such as a search tag and/or category or owner.

I suspect that the majority of programs are like the ones I write in that they don't have a ton of demands on them, relatively speaking. Not in terms of load or scope or anything else.

In most of these "small" applications, I think you can literally use almost _any_ database or file structure you want and end up with basically equivalent results.

Re:Ash HN: What if we use file system as database? by xyheme on Thursday October 05, 2023 @09:51AM (#37778603)
Thanks for the reminder about meaningful pathnames :)