Re:Ash HN: What if we use file system as database?
by jryan49 on Thursday October 05, 2023 @11:32AM
(#37779930)
Why not, is because you want ACID guarantees (ie, what if two people are editing a file at once), ability to scale, or a query language.
[ Parent
| on HN ]
Re:Ash HN: What if we use file system as database?
by xyheme on Thursday October 05, 2023 @03:15PM
(#37782930)
That all can be achieved by using file system as database.
Not even complicated to implement.
See couchDB for how to handle "what if two people are editing a file at once".
Re:Ash HN: What if we use file system as database?
by jryan49 on Thursday October 05, 2023 @04:42PM
(#37784040)
You're not getting that just from the file system though. Depending on the performance requirements and use case it may or may not be complicated. You are going down the rabbit hole of creating your own foundation for a database at that point.