Orchard deployment with Core recipe and multi tenancy enabled

Topics: Administration, Customizing Orchard, General
Apr 21, 2015 at 1:10 PM

We have a default site installed with Core recipe and sql server database. Inside this we have enabled multi tenants. For tenants we are using sqlce data storage. We have around 10 custom modules which we enable for each tenant. Each module you can assume is a new widget.

With this setup site has become very slow, each request takes more than 10 sec to respond. I have disabled dynamic compilation also.

Even after deploying to server, slowness has become a major problem. Even to navigate from one page to another, it takes a lot of time.

Could anyone suggest methods to improve the performance of the site. Has anyone else faced such issues before?Any help in this regard would be appreciated. We are kind of stuck here.

Apr 21, 2015 at 3:31 PM
First course of action would be to identify what is causing the performance issue you're seeing.
Check your log files and see if exceptions are being thrown during an HTTP request.
Next would be to use a profiler, maybe use the MiniProfiler module to find out about any slow content handlers or filters that may have been introduced with any of your modules. You could also try your setup first with a clean Orchard installation, then enabling one custom module feature at a time and see if you can find out when the site becomes slow.

When I used to see slow Orchard sites, most of the time it was a n+1 query issue or some expensive operation being executed on each and every request, all from custom modules. Orchard in its current state is blazingly fast.