MAJOR Nop 2.2 Performance / MVC3 Performance Issues

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Hello Andrei / Nop Community:

My name is Gregory Weiss.  I am the Webmaster and developer for Ark Naturals (www.arknaturals.com).  I have been using NopCommerce since 1.9.  I have two sites.

www.arknaturals.com - Nop 1.9
stage.arknaturals.com - Nop 2.2 (I have been upgrading since 2.0).

I am having SIGNIFICANT performance issues with the Nop platform since the migration in 2.0 to MVC3.  As you can see, the PROD site (www) is working just great.  In fact, one of the big reasons I switched to Nop is that its full feature set had GREAT performance.

The stage site's performance is simply UNACCEPTABLE and I just can NOT determine the reason after extensive research and testing.  As I said, I have completed my upgrade and all my code is now on Nop 2.2.  As you can see, I heavily customized the UI.  I have added Controllers/Models/Views and I have added Data Objects and Services to the Framework, but I have not changed ANY of the core Nop Functionality, Global calls, Data Model, Base Layout framework, etc...

I currently host both sites on Winhost.  As you should be able to tell, the initial load takes at least 8-10 seconds to load.  It usually takes longer.  When I test load performance using standard web tools (ie: pingdom).  I am seeing anywhere from 6 to 20 seconds on the FIRST CALL (which I assume is all the base framework calls - Global.asax, etc Requests, MVC rendering).  You can also see that the other page resources are quite small and ineffectual in terms of overall performance.

Please feel free to try and look at page load results using any website tool you like.

The other things I have noticed is that, no matter how many times and places I try to load the site, the initial load is ALWAYS very slow.  I would think that onAppStart, the first load would be SLOW-ER, but after that, subsequent initial loads would see much better time.  This is NOT the case.  

I also have a Keep-Alive that I run every 5 minutes on one of my local servers.  As I said, on Nop 1.9 (www), the performance is excellent from any browser, computer, session.  I assumed the Keep Alive helped.  I set up a Monitor for the Stage Site and performance is a problem.  I assume it is having no affect on the initial app start loading.

I DO notice that after the first load, subsequent page loading appears to be MUCH better.  But that performance is very random.  Generally, the speed is very good/acceptable, but randomly, a page I had already hit will have the same latency as the inital load page.

I have also performed the following due-dilligence on my hosting.

1. Cleaned everything off, loaded a static welcome.html page. - page loaded instantly.
2. Created a basic MVC3 C# razor app in VS2010 and loaded it onto my hosting environment.  It ran very well.  No latency or other problems.
3. Loaded and installed the Nop2.2 cart and installed base DB (out of the box, no changes) onto my hosting and tested it.  Experienced the same initial load / latency problems that I experienced in my converted Nop2.2 site.
4. Loaded my converted Nop2.2 solution with my updated SQL DB Nop2.2.  Latency issues as explained.

I am without question frustrated because I feel like I have taken a GIANT step backwards.  The Nop1.9 site is great, but I have invested weeks of hours converting to Nop2.2 and doing extensive development and I fear its on a Cart Solution that simply doesn't not meet the basic requirements of performance.

PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE help me get this resolved!  I do LOVE NopCommerce and really need help moving forward!!

Best Regards to anyone who takes time to digest this issues.

Gregory Weiss
12 years ago
Hi Gregory,

I've been clicking through your staging website and all the pages are loading in 1 second or less. One thing I've found is that the "shop" page is broken and "Fan Club" is broken. I'm not sure what is wrong with the shop section, but I think the fan club route might be messed up ( or how you're calling the route). You could try running a profiler against the code and optimizing the sections you find to be a resource hog.

Your website looks very impressive and as a customer I would not be put-off by the page load times.

p.s. Just now clicking back to the home page and then into shop both pages took 2-3 seconds to load
12 years ago
Hi there!

Thanks for taking the time to check out my site.  I just tried a pingdom test and you can see the ressults.

http://tools.pingdom.com/default.asp?url=http%3a%2f%2fstage.arknaturals.com%2f&id=5988748

Also, I just tried opening the site on two new browsers (my ipad, and a remote server via Terminal Connection), but had 8-10 second initial load times.

I do see good performance once I'm in the site for the most part, but I still think the inital load is a problem.

Also - yes, I know there are some broken links, but I've been so busy on this issue I've had to stop my development! :-P

Thanks again for your time!

Regards,

Greg
12 years ago
Hey there!

Does the fact that a site has broken route links cause problems for performance?  I went back and updated all broken pages.  I also makde sure that the debugger was set to FALSE and now all the sudden it looks like its running great!

All I did was update the broken pages (which were broken in the global navigation).  Does that cause initial load to hang?
12 years ago
Hi Gregory

Thought you might be interested. Tried your stage site from Melbourne, Aust. Took about 5+s to show anything, then page loads quickly after that.

I am about to launch a site v1.9 but will have a good look at 2.2 when I get a chance.

Murray
12 years ago
FYI. All the performance issues have returned and I'm still in need of assistance.  Thx!
12 years ago
Is it only slow the first visit?
12 years ago
the first load page is always slow, but the performance during a session seems to be random.  It seems like everything is running fine, then I'll hit a spot where its really slow again.  Plus, I have a keep-alive running that doesn't seem to be doing anything.

Feel free to check out the site and page load analysis and you can see for yourself the performance that exists.

thanks for your reply!

Greg
12 years ago
Response is not that bad but:
Add to chart is taking sometimes 13 seconds, other times 2.

What are the results on another server
12 years ago
Off topic: typing in a search gave an error..
http://www.arknaturals.com/storelocator.aspx?searchterms=2901
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.