Hacker News new | ask | show | jobs
by pokstad 857 days ago
Files seem less useful for small bits of information. I feel the urge to fill a file with a minimum threshold. A database makes more sense for that.
1 comments

>I feel the urge to fill a file with a minimum threshold.

Honestly that's more you subjectively than database v files.

Everything about database v. files is subjective like that. Filesystem is a database, just with more established tradition around schema and use patterns, and system level APIs.

On the other hand, you get to implement concurrent access yourself. Multiple apps working on the same files simultaneously only works when none of them makes a mistake with caching or locking.