Storing Images: MongoDb vs File System

前端 未结 2 1554
既然无缘
既然无缘 2021-02-05 09:42

I need to store a large number of images (from around 10,000 images per day) With an average size of around 1 to 10 MB for each image.

I can store these images in MongoD

2条回答
  •  情歌与酒
    2021-02-05 10:13

    MongoDB GridFS has a lot of advantages over a normal file system and it is definitely able to cope with the amount of data you are describing as you can scale out with a sharded mongo cluster. I have not saved that much binary data in it on my own but I do not think there is a real difference between the binary data and text. So: yes, it is suitable for the payload.

提交回复
热议问题