Hacker News new | ask | show | jobs
by ilaksh 990 days ago
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.

1 comments

Thanks for the reminder about meaningful pathnames :)