ASP.NET MVC image upload store location (db vs filesystem)

Posted by adrin on Stack Overflow See other posts from Stack Overflow or by adrin
Published on 2010-04-28T18:51:21Z Indexed on 2010/04/28 19:27 UTC
Read the original article Hit count: 189

I am writing web application using ASP.NET MVC + NHibernate + Postres stack. I wonder if images uploaded should be stored in database as binary blobs or on filesystem (and reference only in db). One advantage of db storage I can think of is easy backup/recovery of all data without reverting to filesystem copy tools. On the other hand I suspect that filesystem access may be faster (but is it especially when dealing with many concurrent requests?) What are your suggestions?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc