![]() ![]() In our case we have non-expiring static images with static urls - the perfect case for a reverse proxy setup. This is very case dependent however - it’ll not be optimal for non-cacheable resources like personalized pages, shortlived data and so forth. By utilizing a reverse proxy setup, we can use the Squid server with minimal changes to our current configuration. We want to setup Squid as a reverse proxy. If you don’t need the amount of PoPs that the CDN provides, you can setup your own service quite easily using Squid. ![]() While this may solve the problem, it’ll also cost you a bit as CDN providers, rightfully, are not cheap. The obvious solution is to partner up with a CDN provider, problem solved. ![]() Letting US based clients fetch all the data from Denmark results in very slow response times. The speed of light suddenly seems quite slow.Īt one of my current projects we serve a lot of image data. Serving code from one end of the world to the other will take time, no matter how quick your servers are handling the request. It’s not a matter of adding more servers to the cluster or optimizing code (we’ll assume these factors are perfect), it’s a simple matter of geography and mathematics. Once you start receiving visitors from all over the world, a new kind of scaling issue arise. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |