Categories
Web Architecture

Scaling web applications: Part 3 – Horizontal Scaling

Till now we have tried to extract more and more meat out of a single machine (vertical scaling) i e adding faster CPU, more RAM, SSD and adding certain tools Varnish cache to enable us to handle more traffic. This has a limit to it ,depending on the architecture of the application that needs to be […]

Categories
Uncategorized

Scaling web applications: Part 2- Caching Strategy

So now your site is handling a rush of traffic; I am assuming you have a VPS/dedicated server and you have added more RAM & CPU cores to your server and hit a peak point there.And of course you have setup a CDN much before you landed at this junction. Your web server (ideally nginx) […]

Categories
Uncategorized Web Architecture

Scaling web applications: Part 1- Why use a CDN

We have been struggling to scale our applications and felt the need to add a real world perspective to the whole process of scaling up web applications. This post forms part of a series, devised to explore and lay down the nuts and bolts of the using different  tools and processes to handle scaling web […]

Categories
Server Administration Web Architecture

Caching strategy – Using varnish to handle high traffic

Varnish is an HTTP accelerator and is used as a caching strategy to reduce load on web server… you can find great guides on how to set it up and get started.But the more elusive question is WHEN TO USE VARNISH? Trying to streamline the caching strategy, we often had to rethink when to use Varnish. […]