|
|
|
|
|
by cogman10
1716 days ago
|
|
It even has a lot of the same features as a full fledged DB. For example, most file systems today are journaling. Which is exactly how most databases handle atomic, consistent, and durability in ACID. About the only thing it's missing is automatic document locking (though most file systems support explicit locks). That said, there are often some pretty hard limits on the number of objects in a table (directory). Depending on the file system you can be looking at anywhere from 10k to 1 billion files per directory. There are also some unfortunate storage characteristics. Most file systems have a minimum file size of around 4kb, mostly to optimize for disk access. DBs often pack things together much more tightly. But hey, if you can spin using the FS as a DB... Do it. Particular for a read heavy application, the FS is nearly perfect for such operations. |
|