I'm developing a marketplace and I need to know what is the best practice for storing big files around 100mb-500mb.
I'm using nodeJS, AngularJS, and finally MongoDB Atlas to save the user's data into it but I'm not sure if use MongoDB to store big files with extensions like .rar, gif, jpg, png etc and stream them on the marketplace or allow users to download them.
I found some options like: https://www.npmjs.com/package/multer-gridfs-storage https://www.npmjs.com/package/multer
currently, I'm can store some data like images on MongoDB Atlas but I'm not sure if is better to user another method to store the big files separated from the user's data on MongoDB, like dropbox, google drive or another file server.
Would you advise me about what's the best way to do it?
via Maik Fields
No comments:
Post a Comment