I am creating an application like youtube to store videos and I need some advice.
Should I use SQL Server FileStream to store the video files or should I store them somewhere on the hard disk and record the path as a varchar(MAX) inside SQL Server?
Which is recommended and why?
Do you recommend something else apart from both these? Please feel free to tell me but please tell me why too.
Thank you so much.
The FILESREAM type has the advantage of providing transparent transactions while still storing large files on the file system. The drawback is that it is proprietary and if you decide to change database this solution might be less portable to other databases. So providing an objective answer to this question is impossible IMHO.