A website that can grow with your business and that can reach global markets is no longer a luxury, it is a must-have. I will show you how to develop a highly scalable Kentico Azure site capable of reaching every corner of the world, give you a quick tour of the Azure portal, guide you through the implementation and configuration of various features in the Kentico architecture, as well as the best practices for developing scalable Kentico sites in Azure.
3. Before we begin
Deploying Kentico to Microsoft Azure
http://devnet.kentico.com/articles/deploying-kentico-to-azure-web-apps-part-1-deployment
http://devnet.kentico.com/articles/deploying-kentico-to-azure-web-apps-part-2-running-monitoring
http://devnet.kentico.com/articles/deploying-kentico-to-microsoft-azure-know-your-web-hosting-options
http://devnet.kentico.com/articles/deploying-kentico-to-microsoft-azure-know-your-database-options
http://devnet.kentico.com/articles/technical-webinar-most-common-issues-with-kentico-azure-deployments
4. Today’s plan to take over the world
Architecture
Multi-Tenancy
Session State
Content Delivery Network
Web Farms
Deployment
6. 15 tips for optimizing your websites performance
Tip 1: Setup is key, pick your components
carefully!
Tip 2: Page order counts!
Tip 3: Minify!
Tip 4: Resource compression
Tip 5: Disable the view state (carefully)
Tip 6: SELECT ##COLUMNS## FROM ???
Tip 7: Cache me if you can!
Tip 8: Master of the Universal Viewer
Tip 9: Find and fix issues using the built-in
debugging options!
Tip 10: Event log
Tip 11: Find the right balance
Tip 12: External services
Tip 13: Monitor the health and performance of
your websites
Tip 14: Try to keep up!
Tip 15: Know the guides!
http://devnet.kentico.com/articles/tips-and-tricks--building-highly-scalable-websites
8. Start gathering requirements
What is the goal of the project?
What is the expected number of users/ page views during the peak load, what is the expected number of pages
on the website?
What is the structure of the website and what types of content will be published?
Which web standards should be followed in terms of accessibility and coding?
Who is the target web site visitor?
Which products and technologies will be used?
What is the content life-cycle? Who is responsible for the content management?
What languages will be used for the content?
What is the required availability of the website?
What is the production environment type?
http://download.kentico.com/Kentico_DeliverNow_Methodology.pdf
13. Gotcha: Geo-replication
Kentico does not support read-only
SQL databases
Hosting the SQL Azure database
outside the Azure Region results in
a huge performance degradation
16. Multi-Tenancy
Ability to have multiple sites installed in a single installation of
Kentico
Multi-site objects and content
Integration
Governance
Search
Marketing
Software Maintenance / upgrades
17. Gotcha: Multi-Tenancy
Some of the early Kentico modules don’t work very well with
multi-site objects
How we handled it:
Create custom modules and enforce the use of the SiteID column
19. Tips and tricks: Multi-Tenancy
Use global roles and configure required permissions
http://blogs.jeroenfurst.nl/blog/september-2015/working-with-roles-and-permissions
Create custom modules for non multi-tenant Kentico modules
https://docs.kentico.com/display/K82/Creating+custom+modules
20. Session State
Single instances InProc
Multiple instances (web farms) Azure Redis Cache
https://azure.microsoft.com/en-us/documentation/articles/cache-faq/#which-azure-cache-offering-is-right-for-me
22. Tips and tricks: Session State
Microsoft Azure Redis Cache in Kentico
http://devnet.kentico.com/articles/microsoft-azure-redis-cache-in-kentico
Typos in Azure Redis Cache access keys can result in headaches
http://blogs.jeroenfurst.nl/blog/july-2015/typos-in-azure-redis-cache-access-keys-can-result
23. Content delivery networks
Push
Editor uploads files directly to the CDN server
Origin Pull
CDN fetches data during the first request and caches it
http://www.whoishostingthis.com/blog/2010/06/30/cdns-push-vs-pull/
24. Gotcha: Azure Blob Storage
Media library limitations when storing files in an external
storage
https://docs.kentico.com/display/K82/Configuring+media+libraries#Configuringmedialibra
ries-Medialibrarylimitationswhenstoringfilesinanexternalstorage
“We recommend storing at most 100 files in a single media library folder.”
25. Tip and tricks: CDN
Speeding up Kentico Websites with Rackspace CDN and Origin Pull
http://www.getstarted.com.au/Blog/September-2015/Kentico-Rackspace-Akamai-CDN-Origin-Pull
Upgrade to hotfix 8.2.44 or newer
29. Tips & tricks: Web Farms
Automatic deletion of inactive WF servers in 8.x
http://devnet.kentico.com/articles/automatic-deletion-of-inactive-wf-servers
Automatically generate scheduled tasks for web farms
http://blogs.jeroenfurst.nl/blog/august-2015/automatically-generate-scheduled-tasks-for-web-far