getting the best performance out of dotnetnuke

18
Getting the Best Performance Out of DotNetNuke Mitchel Sellers, CEO IowaComputerGurus Inc.

Upload: tanner

Post on 09-Feb-2016

48 views

Category:

Documents


0 download

DESCRIPTION

Mitchel Sellers, CEO IowaComputerGurus Inc. Getting the Best Performance Out of DotNetNuke. About Mitchel. Active in the DotNetNuke eco system for about 3 years Author of Professional DotNetNuke Module Programming - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Getting the Best Performance Out of DotNetNuke

Getting the Best Performance Out of DotNetNuke

Mitchel Sellers, CEOIowaComputerGurus Inc.

Page 2: Getting the Best Performance Out of DotNetNuke

About Mitchel Active in the DotNetNuke eco system for about 3

years Author of Professional DotNetNuke Module

Programming Provider of support to many clients with varying

DotNetNuke installation configurations Documents Module Team lead CEO of IowaComputerGurus Inc.

Page 3: Getting the Best Performance Out of DotNetNuke

Agenda What impacts performance

Infrastructure (Hosting Environment) Configuration (DNN Settings) Modules/Skin Objects Skin Design Traffic

Getting the best performance Tuning for the hosting environment Default configuration changes

Next Steps/More Drastic Measures Questions?

Page 4: Getting the Best Performance Out of DotNetNuke

Impacts – Hosting EnvironmentWhy?Types of hosting

Shared Cloud (Distributed) Virtual Server (VPS) Dedicated Server

Location of SQL Server

Page 5: Getting the Best Performance Out of DotNetNuke

Impacts – Hosting Environment (Cont)

Shared Low cost Low available RAM/CPU Moderate Disk IO

Cloud Moderate cost Unstable RAM allotment/Moderate CPU Very fast Disk IO

VPS Moderate cost Limited RAM (1-2 Gb)/Moderate CPU Moderate-Fast Disk IO

Dedicated High Cost High amount of RAM/CPU Moderate-Fast Disk IO

Page 6: Getting the Best Performance Out of DotNetNuke

Impacts – Hosting Environment (Cont)

SQL Server Location Adds layer of complication to the

assessment of other hosting aspects Is locally installed SQL bad?Best configuration?Most secure configuration?Ways to combat issues?

Page 7: Getting the Best Performance Out of DotNetNuke

Impacts - DNN ConfigurationBaseline DNN ConfigurationHost Settings

Performance settings Timer mode Schedule configuration

Future Concerns Event Log Site Log

Page 8: Getting the Best Performance Out of DotNetNuke

Impacts - Modules/Skin ObjectsRecurring errors Improper development practicesSlow rendering/Lack of Cache

SolPart menu Invalid HTMLNumber of installed modules

Page 9: Getting the Best Performance Out of DotNetNuke

Impacts – Skin Design

CSS Vs. Tables Size Rendering speed Content placement

Image/CSS sizeSkin Objects usedPanes used

Page 10: Getting the Best Performance Out of DotNetNuke

Impacts TrafficLow Traffic

ASP.NET Worker Process Shutdowns▪ Re-configure IIS▪ Use service such as MyWebKeepAlive.com

Cloud or other hosting not allocating enough resources

High Traffic Database contention Lack of Caching/Compression

Page 11: Getting the Best Performance Out of DotNetNuke

What To Do?

Start with core settings changesBaseline performance testing

DotNetNuke 4.9.0 website SolPart Menu Default Configuration/Shared Hosting Average page load time 3.2 seconds

Page 12: Getting the Best Performance Out of DotNetNuke

Core Settings Changes – Part 1Performance Settings

Module Caching Method▪ Cloud/VPS – Disk▪ Shared/Dedicated – Memory

Performance Setting▪ Heavy Caching

Compression▪ GZip (Unless using 3rd party)

Page 13: Getting the Best Performance Out of DotNetNuke

Core Settings Changes – Part 2Other Settings

Disable Users Online (Yes) Scheduler Mode (Timer) Enable Event Log Buffer (Yes) Auto-Sync File System (No)

Scheduler Search Indexer▪ Frequency should be lengthened

Page 14: Getting the Best Performance Out of DotNetNuke

Core Settings Changes – Part 3Authentication Providers

By default all are enabled Average default load time 3-6 seconds

for loginDisable ALL unused providers at

“Host Settings” level Doing this with default providers (OpenId

and LiveId) resulted in login page load of under 1 second

Must be done at the host level, cannot be controlled by template

Page 15: Getting the Best Performance Out of DotNetNuke

Post Core Settings ChangesAlmost instant changeUnauthenticated requests

Reduced load time to low 2 second mark, a 33% improvement

Improvement can be greater depending on size of content

Page 16: Getting the Best Performance Out of DotNetNuke

Next StepsEvaluation of installed modules,

remove un-necessary onesConsider skin change from SolPart to

other menu provider. Have seen performance improvements

of 30-50% when using CSS NavMenuConsider third-party caching system

Have seen consistent improvements with Snapsis Page Blaster

Page 17: Getting the Best Performance Out of DotNetNuke

How Good Can It Get?

DotNetNuke 4.9.4 site 2000 users 300 blog posts 3-4 k forum posts ~600-1000 visitors a day Shared hosting 1.9~2.4 seconds avg

load Dedicated hosting 0.7-1.2 seconds avg

load

Page 18: Getting the Best Performance Out of DotNetNuke

Helpful Resources

My Blog – http://www.mitchelsellers.com

Snapsis – http://www.snapsis.com