I am working on a project, where each user can post many images. We use Node.js with Express and MongoDB as the database. I was wondering which way would be better in terms of speed and scalability:
- Storing images in Mongo GridFS
Or
- Storing images on Amazon S3, and paths of images on MongoDB. Then retrieve images using paths.
Any thoughts are appreciated !
Thank you,