Web Application Performance Tips

Web Application performance was the big question for the programmers and system administrators now technology is changing very fast. So now size of data increases day by day like facebook and google have billion of traffic with petabytes of data they are serving in milli seconds. So it is difficult to do? No there are smarter ways to do it. So what are the core components of the web architecture?

  1. Web Servers
  2. Databases Servers
  3. Caches Servers

Lots of other things are also required. These all things helps in reducing the page render time when we have lesser amount of data. What if you have a terabytes of data and you need to serve it realtime Ooh that’s really difficult work to do. I will share my experience with you guy how I am doing this?

Well my thoughts are that Web servers are the processors, cache is RAM and databases are the storage. We better know that storage I/O is very slow we cannot serve too much traffic from the normal databases like mySQL, Oracle, MSSQL etc. So we need to have some sort of things those can reduce our dependencies from the storage databases.

So what are the things that we can use to increase the performance of our web applications at very low cost? So I will address the issues and then there solution for you.

  1. Full text search: On a huge amount of data in relational database full text search is almost impossible so we can use the Sphinx search system. Sphinx performance of serving full text search is outstanding.
  2. SQL JOIN: Store the data in denormilized form on sql queries runs very fast with less joins. It’s easy to store that data in noSQL forms like Cassandra, Hadoop ,etc. These noSQL algorithms helps in sorting of trillions of rows in few seconds.
  3. Caches: We need to use the cache systems very effective like complete key management system of Memcache, MCACHE, Eaccelerator, etc. These caches can help you in most access pages and static contents to serve them from the memory faster.
  4. Web Servers: Optimization of web servers are very important like we mostly use Apache web server which is more famous and its performance is outstanding on prefork and MPM Workers both thread controlling mechanism so we need to configure these process system very smartly.


Leave a Reply