Is it faster to upload and download images into a MongoDB than on disk

Viewed 5639

Say we want to develop a photo site.

Would it be faster to upload or download images to or from MongoDB than store or download images from disk... Since mongoDB can save images and files in chunks and save metadata.

So for a photosharing website, would it be better (faster) to store the images on a mongodb or on a typical server harddisk. etc.

im thinking of using php, codeigniter btw if that changes the performance issues regarding the question.

4 Answers
Related