3 ms·
> A filesystem is the canonical means for storing files - just use it Sure but what about the many use cases where you're not really storing files but metadata
by gilgoomesh 12y ago
> A filesystem is the canonical means for storing files - just use it
Sure but what about the many use cases where you're not really storing files but metadata or other generated data?
A simple example might be photo libraries. The photos themselves are files but are the 5kB small and 50kB medium thumbnails generated from the photos worth storing as files? Or should they be stored as blobs in the database along with their other metadata?
It's good to know where the cutoff should be.
- mattbillenstein 12y agoMetadata makes sense in the db - it's structured non-binary data. But I think the binary thumbnails and so forth should almost always be files on the filesystem.