seamless upgrade to 8.5 version. performance testing tuning of ektron & the environment
DESCRIPTION
With the announcement of the 8.5 version by Ektron, we at Ameex being the accredited implementation partner of Ektron decided to perform a few upgrades and show some of the best practices in carrying out the upgrade. This ppt was received with great reception at the recently concluded Ektron Synergy 2011 conference. For more information, please contact us [email protected]TRANSCRIPT
Seamless Upgrade to Ektron 8.5Performance Testing and Tuning of Ektron and the Environment
Ranga Srinivasan – PresidentEmail: [email protected]
Aditya Rambha – Lead, Ektron Practiceemail: [email protected]
Agenda
• Benefit of 8.5 upgrade• Process of Upgrade • Performance testing• Tuning for best results
2
Benefit of Upgrades
• Add New Set of Features– Microsoft Search Server Integration– Complete Framework API– Support for 3-Tier Architecture– Cleaner Workarea Interface
• Stability– eSync updates– Complete Over Haul of Load Balancing
• Performance– Our tests proves 20%-40% improvements based
on some upgrades we’ve done ( < v7.6, > v7.6)
3
Agenda
Benefit of upgrades• Process of upgrade• Performance testing• Tuning for best results
4
Process of Upgrade
• System Requirements • Existing Architecture• Types of Upgrade• Process Walkthrough• Best Practices
5
Hardware System Requirements
• Web Server– Windows 2008 or above 64 bit (32 bit allowed for non search
components)– 8 GB (4 GB max if 32 bit used)– 2.6 GHz Quad core – 80 GB plus asset size free disk space
• Database Server– Windows 2008 or above 64 bit – 16 GB– 2.6 GHz Quad core
• Search Server– Windows 2008 or above 64 bit– 8 GB – 2.6 GHz Quad core – 80 GB plus 2xRam free disk space
6
Software System Requirements
• IIS 7.0 or higher• Microsoft .Net Framework 4.0• Microsoft SQL Server 2008 SP2 or
higher
7
Review Existing Architecture
• Features and Functionality– eCommerce– Community–Micro sites– Etc.,
• Customization– Custom Code– Custom DB Scripts– Third Party Integrations
8
Review Existing Architecture
• Baseline Performance metrics• eSync Setup• Load Balancing Setup• Search Functionality–Web Search– Product Search– Community search– XML Search
9
Upgrade Best Practices
10
• Search Server– Install PowerShell– Setup AD user for Search Server– Window Update Running– Copy assets / privateassets
• Web Server– Pause schedule eSync Profile– Backup certificates– Backup the site
• Database Server– Verify enough space– Backup the database
Process Walkthrough
11
• Download the product• Upgrade Steps
Upgrade Steps
12
Upgrade Steps
13
Upgrade Steps
14
Upgrade StepsSearch Server Connectivity
15
Upgrade StepsRegistering Site with Search Server
• Site not registered
16
Upgrade StepsRegistering Site with Search Server
• Connection String• Crawl Interval• Credentials• Advance crawl options
17
Issues
18
• HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
• Point “Sharepoint Central Administrator v4” website to .Net Framework 2.0 in IIS
Agenda
Benefit of upgradesProcess of upgrade• Performance testing• Tuning for best results
19
Performance Goal
20
”“
Conclusions From Forrester / Akamai Study
Perceived page load times should be no more than two seconds. Companies direct online sales suffer when not meeting those expectations Companies will suffer in-directly across all channels and in the consumers’ perceptions of their brand
Performance Testing Goal
• Website is able to handle current and future website traffic?
• Website meets acceptable end user response time under Peak and Average Load Conditions?
• Plan and simulate future volume testing conditions.
• Identify, fine tune and optimize bottlenecks • Application level (through proper setup and
coding best practices)• Hardware (sizing, hosting, cloud etc..)• Servers – web, database and network
21
Test Process and Challenges
22
• Web Traffic Est. and Work Load Model• Planning for Load Testing• Team Work and Communication• Plan and Setup the Test Environment• Data Strategy• Scripting • Test Run and Monitoring• Results Analysis • Tuning• Retesting
QA & Performance Test Center
Managed Performanc
e Testing ServicesDBA
Ektron DeveloperPerformance
Test Engineer
CSS Engineer
Network Administrator
Ektron Architect
Designer/Navigation
Performance Test Types
24
”“
• Load Testing• Reliability Testing/Endurance Testing• Stress Testing• Volume Testing• Capacity and Scalability Testing• Configuration Testing
Performance Test Tools
25
• When and Why to Automate? • HP Load Runner– VuGen– Controller– Analysis
• IBM Rational Performance Tester• OpenSTA• Jakarta Jmeter• SilkLoad
Methodology
26
Optimize
Goal Achieved?
Measure
Analyze
Test and Measure
• Bounce Rate• Time on Site• Page Views• Page Load Time• Page Size• Server CPU Usage• Server RAM Usage• DB Connections
27
Optimize
Goal Achieved?
Measure
Analyze
Analyze
• System Environments• Code Profile• Ektron Setup• Page Profile• Hardware Environment
28
Optimize
Goal Achieved?
Measure
Analyze
Optimize
• Content Size• Images• CSS• JS• Cache• System Tuning• Code Tuning
29
Optimize
Goal Achieved?
Measure
Analyze
Goal Achieved
30
Optimize
Goal Achieved?
Measure
Analyze
• Bounce Rate• Time on Site• Page Views• Page Load Time• Page Size• Server CPU Usage• Server RAM Usage• DB Connections
Agenda
Benefit of upgradesProcess of upgradePerformance testing• Tuning for best results
31
Tuning Overview
32
Tuning Scope
33
Performance Tuning
Web/Application server
IIS
Web Service Counters Adsutil
MetaEdit.NET
CLR TuningASP.NET Tuning
Enterprise Services
Application Pool Size Object Pool Size
Optimize Idle Time
ManagementPacket Privacy
Only
System
CPU Memory
Disk I/O Network I/O
Web Services
Configure maxconnections
Database server
SQL
Indexes
Cache
Transactions
Locks
System
CPU
Memory
Disk I/O
Network I/O
Environment Tuning
34
• CMS and DB must be in Separate Server• Web and DB Server Configurations must match
with Site Traffic and Size• Caching Techniques• Page Level and Data Level Caching according to
requirement• Keep the Business Pages warm by TinyGet URL -
IIS Resources
Environment Tuning
35
• Enable HTTP Compression • Web.config Settings– Ek_Cache Controls– Reduce Log Level– Disable Debug Mode– Increase ASP Threads per Processor Limit up to
the available resource limit– Disable WCF services tracing
Code Tuning
36
• Taxonomy Tuning and Search (Depth and Level)• Splicing of Data rendering for list, multimedia and
other content to reduce whole data rendering at first load
• Reusable Code in Business logic• Avoiding Unnecessary Loops• Appropriate Use of Javascript
Code Tuning
37
• Avoid too many post backs, use Ajax or JQuery• Zipped Files for lesser HTTP Request• Avoid In line JavaScript – make it as External • Avoid illegal characters in the URL• Avoid redirects wherever possible• Always keep CSS at Top, and Script below CSS• Avoid passing dynamic values to CSS
Agenda
Benefit of upgradesProcess of upgradePerformance testingTuning for best results
38
Thank you