Simple steps to increase the performance of a web application.

Lets say you are tasked to analyze and increase the performance of a website. What are the things you would look into. What would you improve or what would you avoid.

This brief article discusses the simple steps to increase the performance of a web application.

Performace considerations

There are 3 places where performance can be increased

  1. 1. Network Level
  2. 2. Server Level
  3. 3. Database Level
  4. 4. Application Level

Network Level

At network level we can do the following optimizations.

  1. 1. Reduce Number of requests, by combining requests
  2. 2. Use CDN’s like cloudflare, maxcdn, cloudfront etc
  3. 3. Minifiying the html, css and js content before sending it to the client.
  4. 4. Use Local Caching to store data in the client browser using techniques like localstorage and sessionstorage

Server Level

At server level we can do the following optimizations.

  1. 1. horizondal scaling - increase number of servers and put them after a load balancer.
  2. 2. vertical scaling - increase the hardware of the single server by buying s bigger machine

Advantage of horizondal scaling is there is no limit to the number of servers you can have. But a horizondal scaling cannot buy more than a supercomputer.

Database Level

At the database level we can use sharding (splitting) of data

Application Level

This is a very big topic in itself, but the keywords to look out are, optimized way of storaging data, asyncronous operations.

Related Content

How to Rename a Duplicate Column in Django

How to Rename a Duplicate Column in Django

Suppose you have a model where there is a column, say ‘program_name’ that is duplicated

Types of Web Hosting

Types of Web Hosting

The internet is emerging fast and big and today we have a variety of options to host our website than we had earlier.

Tutorial Sites List Free Paid Programmers

Tutorial Sites List Free Paid Programmers

Are you a developer who wants to improve your knowledge. Are you a student trying to get a job in the IT industry.

Featured Posts

Types of Web Hosting

Types of Web Hosting