Search code examples
databaseimagenosqldistributed-computingfault-tolerance

NoSQL- Is it suitable for storing images?


I would like to store millions of images using a distributed fault tolerant system. While storing images in relational database has never been recommended, I was wondering if it is a suitable approach to store and manage image files in NoSQL databases.

I would appreciate if you could share your experience in details here. (i.e. what NoSQL database did you use? it's advantages and disadvantages in this case, etc)

Thanks


Solution

  • MongoDB has an API called GridFS which was made for storing binary files on the database cluster.

    But just as with relational databases, storing files in a filesystem on a SAN is often a faster, more efficient, more maintainable and safer alternative.