Which is faster between storing images in Mongo GridFS or Amazon S3? [closed] Which is faster between storing images in Mongo GridFS or Amazon S3? [closed] mongodb mongodb

Which is faster between storing images in Mongo GridFS or Amazon S3? [closed]


This is like comparing Go vs Node.js. There's no better general solution.

Each might have their own advantages and solutions. MongoDB is more like the DIY solution, and Amazon S3 is the managed solution. With MongoDB you have to scale it yourself. I can say S3 will be faster initially and it's already scaled by Amazon, and probably cheaper(S3 is cheaper than EBS). You can get a lot of servers with huge amounts of RAM and MongoDB will definitely be faster. Also if the MongoDB instance is in the same instance as your App, you will have less latency.

Also check this question: MongoDB as static files provider?

And this: What are the advantage of using MongoDB GridFS vs Amazon S3 to store assets for a product with MongoDB as the database backend?