Optimising Response Time

by Abhishek

I have to post something which my colleague Kuntal Shah shared on our company’s internal knowledge base

———

Three basic solutions I learnt about optimising response time

  1. Reduce number of calls made from client to server
  2. Reduce number of queries during a request
  3. Reduce time taken by a long query

Two common ways to reach problems

  1. Network or Database calls from a loop
  2. Check out indexing on heavily queried tables

The beauty of the above points, is they are purely technology independent and it is a pure logic and common sense.

Try to apply when you face your next performance issue.

———

Sounds common sense! You will be amazed how many programmers don’t apply these basic things in optimization and suffer.

Make sure you do that next time before you lookout for help.