Ask HN: Best way to store large amount of binary files?
What is the best technology to store a large amount of binary files?
I thought about this problem and explored the solution space but still fail to get a final answer. The problem with flat file storage is that the size of the directories grows very large making backups and browsing a pain. And the dbms solution has the disadvantage over beeing not browseable (using file system tools) and beeing a "black box" of sort.
Also I prefer solutions that are slick and do their job fast. That any alpha/beta projects are out of the question for a durable data store, is obvious IMHO.
7 comments
[ 3.3 ms ] story [ 30.4 ms ] threadThe two levels above can either be based on the initial letters of either the filename of a hash of the file content, or use incremental names until each one is "full".
Increase depth to increase maximum scale.
Normally something like this would be used with a simple metadata db - filename, type, bytes, filepath.