I was thinking of creating an application for serving audio content . The first question I get is how to save it. There are two obvious solutions:
- Dump in the database as a BLOB
- Dump in the file system and save path in DB
Here was a similar question, and the answer was requested for storage on the file system. I can come up with at least one drawback of file storage, that is, lose all backups, restores, and other amazing database features.
I also wanted to know how both solutions would deal with scalability.
Does anyone know how flickr or youtube does it?
Or does anyone have more creative (scalable :)) ideas?
source share