How can we enhance the speed of our software for e.g. making the speed same as the speed of the network of user ?
2
There are alot of moving parts in a website or application. Optimising it can sometimes require alot of different things and isn't something you can do over night or shouting at it (Done that it doesn't work as well as you think). You have to investigate first and figure out what is slow and then work out the why.
First off
Start off by running some simple tests on different devices and time the website you will know very quickly if what parts are really slow just by looking at it.
Then use the dev tools in the browser. Check the network tab and load the page and watch what is involved or happening. That will show what is taking some time to load or is slowing it down.
This at least is a place to start, look to trim some of the fat off the page. Do you need all this CSS / JS can you trim it, minify it, etc.
Dev Tools will help show that and is a great first step.
If the whole site is really slow focus on one page at a time and try and work out what is happening.
Second:
Go for NewRelic, Azure Insights(is really good) and even Google Analytics can really help pin down what pages on the site are slow and what is causing the issues,
Azure insights and new relic make it really easy to stop dependencies and calls that are running slow.
There are so many things that could be causing it, every thing I talked about is all the website part. The issue could also be on the database or the server setup. Is the caching set right, etc. It's a rabbit hole but one that is really easy to go into and get out.
Best of luck with it but start off by working out what parts are slow then work from the slowest page and start there. You might find that as you fix the slowest it could start fixing the others in a cascade because of small bottlenecks.
1
Thanks James, it was Great help. and i have found people whose name is James are really helpful or have been kind to me at least.
1
Happy to help, hope it gives you an idea of where to start.
2
You need to profile to figure out where the bottleneck is. There could be hundreds of reasons why something is slow, and twice as many solutions for fixing that. Figure out whats taking the most time and go from there.
2
Trillion methods. Try to be more specific.
1
you can use a simple method like cache some page. for example: if you have a list page, you can cahce that page like 5 - 10 minutes.
1
There are two ways:
Make your product do less
Improve your engineering team (through training or hiring)
1
yeah that would be the last resort :p
1
I've successfully optimized web apps using NewRelic. It gives you nice overview of most visited routes so you can start optimizing at biggest bottlenecks. Let me know if you want to know some more, I'll be glad to help.
1
thanks Bartlomieju, can i have your email.
1
Have you done any analysis of where the slowness lies? Does it take a long time before you start to respond to the requester? Does it take a long time for resources to download to the client? Depending on which of those it is, or both, will determine what you need to do. Test it with the pingdom speed test and let us know what it says. https://tools.pingdom.com
There are alot of moving parts in a website or application. Optimising it can sometimes require alot of different things and isn't something you can do over night or shouting at it (Done that it doesn't work as well as you think). You have to investigate first and figure out what is slow and then work out the why.
First off
Start off by running some simple tests on different devices and time the website you will know very quickly if what parts are really slow just by looking at it.
Then use the dev tools in the browser. Check the network tab and load the page and watch what is involved or happening. That will show what is taking some time to load or is slowing it down.
This at least is a place to start, look to trim some of the fat off the page. Do you need all this CSS / JS can you trim it, minify it, etc.
Dev Tools will help show that and is a great first step.
If the whole site is really slow focus on one page at a time and try and work out what is happening.
Second:
Go for NewRelic, Azure Insights(is really good) and even Google Analytics can really help pin down what pages on the site are slow and what is causing the issues,
Azure insights and new relic make it really easy to stop dependencies and calls that are running slow.
There are so many things that could be causing it, every thing I talked about is all the website part. The issue could also be on the database or the server setup. Is the caching set right, etc. It's a rabbit hole but one that is really easy to go into and get out.
Best of luck with it but start off by working out what parts are slow then work from the slowest page and start there. You might find that as you fix the slowest it could start fixing the others in a cascade because of small bottlenecks.
Thanks James, it was Great help. and i have found people whose name is James are really helpful or have been kind to me at least.
Happy to help, hope it gives you an idea of where to start.
You need to profile to figure out where the bottleneck is. There could be hundreds of reasons why something is slow, and twice as many solutions for fixing that. Figure out whats taking the most time and go from there.
Trillion methods. Try to be more specific.
you can use a simple method like cache some page. for example: if you have a list page, you can cahce that page like 5 - 10 minutes.
There are two ways:
Make your product do less
Improve your engineering team (through training or hiring)
yeah that would be the last resort :p
I've successfully optimized web apps using NewRelic. It gives you nice overview of most visited routes so you can start optimizing at biggest bottlenecks. Let me know if you want to know some more, I'll be glad to help.
thanks Bartlomieju, can i have your email.
Have you done any analysis of where the slowness lies? Does it take a long time before you start to respond to the requester? Does it take a long time for resources to download to the client? Depending on which of those it is, or both, will determine what you need to do. Test it with the pingdom speed test and let us know what it says. https://tools.pingdom.com
thanks Craig, i will try this.