How to fix website performance issues ?
Website and online app performance is very critical for a business. There are no two views about it.
1. How does one go about identifying the cause of performance issues ?
2. How to solve those issues ?
1.First and critical step : Get it right.
Ensure that you have understood the issue correctly by asking the right questions. Don’t rush to provide solution or suggestions. More often than not asking the right questions can itself lead to the solution as the below real life experience shows.
Recently one of our customers reported application is slow. Initially it was tough to figure the reason for slowness. Only on quizzing the user we realized that the issue was not faced by the regular users but by one of the user’s contacts in U.S during a demo. This critical point was completely ignored by the user when reporting the issue.
The above critical piece of info helped pinpoint the issue immediately. The application is media heavy with streaming and the servers are hosted in AWS Singapore. The users in US will face higher response times than someone based in Bangalore due to the network delays(latency).
2.Is the server configuration not good enough?
Finding the root cause can be a complex and time consuming task. But with cloud computing it is very easy to check if the issue is related to server configuration. With few clicks you can upgrade the server and observe the performance for couple of days. If the issue is not due to server then you can easily revert back to the old configuration.
3.Is it the web server or database ?
Though webserver’s (e.g Apache , nginx,etc) and database default parameter settings are optimised and work well for typical scenarios sometimes they have to be tweaked to suit a specific environment. There are many tools available to monitor and provide data points that can be used to tweak the parameters(e.g number of threads, buffers , slow queries ,etc).
If the issue is still not getting resolved then the next step should help out.
4.Is it the application ?
Last but not the least. Sometime there can be bottlenecks in the application architecture that is causing performance issues.
For one of our customers the performance issue was due to the application architecture wherein the same DB was being used to store transactions as well as user access logs. This led to contention in accessing tables/records which in turn led to performance degradation. So don’t assume app is not the bottle neck. For all you know the issue may reside there.
Need help to solve your website or online app performance issues. Reach us. contact(at)clozon.com or use the form on this page.
Connect with Saif @ https://in.linkedin.com/in/syedsaif
Run Your Stateless Containers With Google Cloud Run | A Fully Managed Environment.
Highly competitive businesses, challenging situations, ever growing customer needs, rapidly changing technologies - developers now more than ever have to be more quick in producing applications that are error-free, adaptive and economical also, and this can be...
Now Available | Amazon EC2 Mac Instances For Building Apple Applications.
Now iOS developers can take advantage of the robust, scalable, secure EC2 Instances to develop,build and test Apple apps with the newly available EC2 Mac Instances. What is Amazon EC2 ? Amazon EC2 ( Elastic Compute Cloud) is an extremely popular web service from...
Provide Highly Available Websites/Applications To Your Users With Azure Traffic Manager
With users spread across the globe, today's applications cater to a global audience. Even though the advantages of global applications are many, so are the challenges that come with these applications.. One of the biggest challenges is to maintain high availability...