Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why use a service like Imgur or Amazon S3 for image hosting?

I've noticed a lot of websites don't host images themselves, instead using something like Amazon's cloud service. As an example, Stack Overflow seems to use Imgur.

Why is this? Why pay someone else to host your images instead of hosting them yourself?

like image 814
Nate Avatar asked Jul 17 '14 19:07

Nate


1 Answers

Depending on volume, it can be cheaper to host on a CDN network (bandwidth in data centers can be more expensive depending on your arrangements). There's much more redundancy with edge caching servers, which has the added benefit of faster load times. Some browsers limit the number of concurrent connections to a single domain, so having media on a separate domain can allow for more throughput when loading a given page. There's also the decreased load on your servers. It may be trivial for low traffic websites, but can become a concern at scale.

like image 139
Grant H. Avatar answered Oct 27 '22 13:10

Grant H.