4.1 performance comparsion to previous version

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hello,
does anyone have experience with overall performance 4.1 version on production environment related to memory requirements?

So far I have no experience  vith version 4.1 and I an considering upgrade from 4.0. Based on first small tests on local environments seems application needs more resources from the very start, but how it behave when application consume more requests?

Consumed memory aftre application started:
v 4.0 - 284 MB
v 4.1 - 356 MB

In 4.1 Nop.Web.csproj is set: <ServerGarbageCollection>false</ServerGarbageCollection>

Thank you for your comments..

Kind regards,
Pavel
5 years ago
Hello Pavel,

We had memory issues with nopCommerce 4.1 just after it's release. I've made a thread then explaining how we fixed it (the Workstation GC fix you have on your store). You can check the thread here.
It's true that the memory usage in nopCommerce 4.1 is higher than in previous versions. However, in my experience, I have not seen any performance drop after upgrading to 4.1.
That being said using the Workstation GC, as explained in my post I shared above, should result in a worse performance when a lot of users are using your store. Not that I have tested that, but theoretically that should be the case.
You should decide for yourself if you are after a lower memory usage or better performance when your store is under a lot of load and choose the type of GC for your nopCommerce application. I would suggest you upgrade your database and run a test nopCommerce store on version 4.1 to see for yourself.

Hope that information is useful!

Regards,
Anton
5 years ago
The main problem is in bug in EF Core 2.10 with lazy loading.
It's a very critical bug.
You can read how to fix at this forum.
Download compiled DLL or create the new one.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.