[ACCEPTED]-Which is faster between storing images in Mongo GridFS or Amazon S3?-database

Accepted answer
Score: 21

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

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

Also 1 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?

More Related questions