|
Post by chris on Jan 2, 2014 17:56:23 GMT
After today's brief outage following where a small piece of code that hadn't been fully optimised suddenly went from taking a couple of seconds to run to taking more than an hour, due to memory starvation, I thought it may be worth creating a thread on here where people can post any performance issues they're experiencing so that we can nip them in the bud. We have very good monitoring in place in the database, with every query and its execution time logged, checked, collated and graphed for us. Our coverage of slow pages in the web application isn't quite as good at the moment although that is expected to improve in the coming weeks as we extend our automated monitoring. Our general rule of thumb is that the end users shouldn't have to wait more than 1 second for a page response no matter what they are requesting from the site and no matter how busy the site is with traffic or with background processes. For the most part we hit that although I'm currently aware of three areas that need improvement: - Recalculation of a loans repayment schedule as this calculates data on a per loan unit basis. Could be further optimised but doesn't currently affect the front end website.
- Generation and export of large transaction lists - in the database this runs quickly however the web app is slow in processing that data in order to generate the export file. Download times will naturally be longer due to the size of the file.
- Bulk buying loan units on the secondary market. It takes around 0.5 seconds per loan unit at the moment which could be optimised, which is okay on its own but quickly adds up when multiple loan units are bought. Speeding this up is high on my to do list.
If you know of any others or experience any slow responses please do let me know.
|
|
j
Member of DD Central
Penguins are very misunderstood!
Posts: 2,188
Likes: 540
|
Post by j on Jan 2, 2014 22:06:18 GMT
After today's brief outage following where a small piece of code that hadn't been fully optimised suddenly went from taking a couple of seconds to run to taking more than an hour, due to memory starvation, I thought it may be worth creating a thread on here where people can post any performance issues they're experiencing so that we can nip them in the bud. We have very good monitoring in place in the database, with every query and its execution time logged, checked, collated and graphed for us. Our coverage of slow pages in the web application isn't quite as good at the moment although that is expected to improve in the coming weeks as we extend our automated monitoring. Our general rule of thumb is that the end users shouldn't have to wait more than 1 second for a page response no matter what they are requesting from the site and no matter how busy the site is with traffic or with background processes. For the most part we hit that although I'm currently aware of three areas that need improvement: - Recalculation of a loans repayment schedule as this calculates data on a per loan unit basis. Could be further optimised but doesn't currently affect the front end website.
- Generation and export of large transaction lists - in the database this runs quickly however the web app is slow in processing that data in order to generate the export file. Download times will naturally be longer due to the size of the file.
- Bulk buying loan units on the secondary market. It takes around 0.5 seconds per loan unit at the moment which could be optimised, which is okay on its own but quickly adds up when multiple loan units are bought. Speeding this up is high on my to do list.
If you know of any others or experience any slow responses please do let me know. Chris
I tried to buy some units on the aftermarket today via my smartphone, having picked the relevant auction, the bottom page showed no units. I'd encountered this issue before but forgot about it till today having been able to access that page with no problems on my laptop which was handy at the time.
Is it an issue with the site or more probably with my mobile phone settings? If so, any idea what needs rectifying on my side as I don't like to miss out again, which is what happened on this occasion.
Regards
J
|
|
|
Post by chris on Jan 2, 2014 22:08:11 GMT
j1 - I'll get our front end dev to look into it. It's probably related to the new UI which relies upon an AJAX call back to the server which may not work on all mobile devices. If we can replicate the issue we should be able to fix it.
|
|
j
Member of DD Central
Penguins are very misunderstood!
Posts: 2,188
Likes: 540
|
Post by j on Jan 2, 2014 22:13:46 GMT
j1 - I'll get our front end dev to look into it. It's probably related to the new UI which relies upon an AJAX call back to the server which may not work on all mobile devices. If we can replicate the issue we should be able to fix it. Thnx for the very prompt reply!
|
|
andy2001
Member of DD Central
Posts: 361
Likes: 34
|
Post by andy2001 on Jan 2, 2014 22:55:05 GMT
Works fine in Chrome. In Internet Explorer, I mentioned some time ago that the circles showing how much is filled don't show on one of my computers. This is no longer the case. They always show now, when they started always showing I was no longer able to get to any tab on a loan apart from the main tab. So can't get to Q and A or documents. It just says loading with a circle. This is the case on both my computers.
|
|
|
Post by chris on Jan 2, 2014 23:01:37 GMT
andy2001 - ugh, okay. I hate cross browser compatibility I'll raise that issue with our front end guy as well.
|
|
duck
Member of DD Central
Posts: 2,864
Likes: 6,898
|
Post by duck on Jan 3, 2014 5:23:13 GMT
Works fine in Chrome. In Internet Explorer, I mentioned some time ago that the circles showing how much is filled don't show on one of my computers. This is no longer the case. They always show now, when they started always showing I was no longer able to get to any tab on a loan apart from the main tab. So can't get to Q and A or documents. It just says loading with a circle. This is the case on both my computers. I had a very similar issue with IE. The circles disappeared and I couldn't access any other pages until I found 'open in new tab' worked! I then installed an ad blocker (see another thread) and I whilst I could open the pages the circles didn't appear. I don't think this was a system resource issue since I experienced the same issue on a box that I use for Finite Element Analysis and Computer Aided Design so have a lot of 'grunt' and disc space.
Just checked the website and the circles are back (as they have been for a week or so) and whilst I still get the continual circles if I click on for instance 'Q&A' I can open instantly with 'open in new tab'.
|
|