Because I'm not looking at storing 100Gb's of user profile images.What gkm said, Amazon S3 or similar.
Not really sure why you would use a database or filesystem over that.
The costs would almost certainly be higher (taking into cost maintenance, storage, etc.)
Because I'm not looking at storing 100Gb's of user profile images.
Why store them at all?
Let uses link them from independent hosts that aren't your problem.
What gkm said, Amazon S3 or similar.
Not really sure why you would use a database or filesystem over that.
The costs would almost certainly be higher (taking into cost maintenance, storage, etc.)
What does it cost?My wife got this going to upload profile pictures for users to S3 and display directly from S3 in less than an hour using Rails (migrated from using file system), in her first attempt to use S3. She never looked back and have not had a moment's hassle in this area. Also, her webserver file system in now completely expendable, so no need to even bother to back it up. (Can restore website directly from Git and/or DB backup.) Saved her money and admin effort and reduced load on the webserver, since it only serves a few very small images, so keeps the site very snappy. Was so happy with the outcome that she moved most of the other more static images on the site to another bucket in S3. That website handles big load spikes without even blinking, since all the heavy lifting has been delegated to S3.
Getting started:
https://aws.amazon.com/articles/4261
True, but in this case it matches 100% what S3 was made for.[)roi(];18655709 said:Even Amazon S3 isn't a hammer for every nail:
What? Truly I can't see how and where S3 makes use of Akamai.[)roi(];18655709 said:Amazon's own services are still heavily dependant on Akamai CDN.
Your counter argument to those points are that I'm using opinions? Not a single point challenged on its merits, simply that it is opinion.[)roi(];18655709 said:The last points against file system are opinions; opinions != fact.
http://bfy.tw/8kXEWhat does it cost?
[)roi(];18655709 said:Even Amazon S3 isn't a hammer for every nail: Amazon's own services are still heavily dependant on Akamai CDN.
The last points against file system are opinions; opinions != fact.
Yet that was the OP's question: "Blob vs File system storage", or did I miss the part about S3 vs Blob vs File system storage. Going S3 has no bearing on that question, because both choices are supportive by S3 or any other service.True, but in this case it matches 100% what S3 was made for.
It's not relevant re OP's question, but it is relevant if we're comparing service options; hence the hammer adage.What? Truly I can't see how and where S3 makes use of Akamai.
If that were true however, not really sure why it is relevant.
But mostly point 1. S3 is a storage service. They have absolutely nothing to do with Akamai.
Simple, I didn't agree.Your counter argument to those points are that I'm using opinions? Not a single point challenged on its merits, simply that it is opinion.
Hmm ok.
How's that relevant. Unless you're either working for the government or SOEs; selection is usually a process (e.g. tender), based as example on an agreed weighted criteria.You must be fun in design meetings.
That doesn't confirm anything. They (and may others) still use Akamai, even though they have their own CDN. simply because Akamai network is superior i.t.o sheer number of servers or more specifically: the locality of Akamai servers >70K.
Exactly, in the case "Blob vs file system" it has no bearing. However in the "Amazon S3 or similar" bit it does, re them eating their own dog food.Amazon used to use Akamai, not sure if they still do. Even so, why does it matter?
If I understand correct.y then it's less about S3 and more about "Amazon Simple Storage Service?" vs Blob vs. file system vs... (e.g. CDN)Note, I did not suggest using any CDN. I suggested serving directly from S3. So agree with others, CDN discussion not relevant here. But I guess CloudFront is an option if eventually needed.
In terms of suggesting S3, just wanted to point out there is a better option than both DB and file system, which as Gnome pointed out, is designed for exactly this kind of thing. Nice fire and forget exact match solutions are usually the best, rather than using something that will work, but needs constant attention.
Good point - why I'm not a big fan of App Engine and similar platforms.[)roi(];18665615 said:If I understand correct.y then it's less about S3 and more about "Amazon Simple Storage Service?" vs Blob vs. file system vs... (e.g. CDN)
If that's the case then my biggest counter argument would be code / SDK lock-in.
Why store them at all?
Let uses link them from independent hosts that aren't your problem.
Tbh, never let the user insert their own remote content on your site.
But it's not on your site.
It's only linked through by your browser really.
Also you could just use a known standard like Gravatar if you want to enforce it somewhat.