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 info@ameexusa.com
Building AI-Driven Apps Using Semantic Kernel.pptx
Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment
1. Seamless Upgrade to Ektron 8.5
Performance Testing and Tuning of Ektron and the Environment
Aditya Rambha – Lead, Ektron Practice Ranga Srinivasan – President
email: adityarlv@ameexusa.com Email: ranga@ameexusa.com
2. Agenda
• Benefit of 8.5 upgrade
• Process of Upgrade
• Performance testing
• Tuning for best results
2
3. 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
5. Process of Upgrade
• System Requirements
• Existing Architecture
• Types of Upgrade
• Process Walkthrough
• Best Practices
5
6. 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
7. Software System Requirements
• IIS 7.0 or higher
• Microsoft .Net Framework 4.0
• Microsoft SQL Server 2008 SP2 or higher
7
8. Review Existing Architecture
• Features and Functionality
– eCommerce
– Community
– Micro sites
– Etc.,
• Customization
– Custom Code
– Custom DB Scripts
– Third Party Integrations
8
10. Upgrade Best Practices
• 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
10
17. Upgrade Steps
Registering Site with Search Server
• Connection String
• Crawl Interval
• Credentials
• Advance crawl options
17
18. Issues
• 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
18
20. Performance Goal
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
”
20
21. 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
22. Test Process and Challenges
• 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
22
23. QA & Performance Test Center
Ektron
Architect
Ektron
Developer
Performance
Test Engineer
Managed
Performance
Testing
DBA CSS Engineer
Services
Network
Designer/Navigation
Administrator
25. Performance Test Tools
• When and Why to Automate?
• HP Load Runner
– VuGen
– Controller
– Analysis
• IBM Rational Performance Tester
• OpenSTA
• Jakarta Jmeter
• SilkLoad
25
27. Test and Measure
• Bounce Rate
Optimize • Time on Site
• Page Views
• Page Load Time
Goal
Analyze
Achieved? • Page Size
• Server CPU Usage
• Server RAM Usage
Measure
• DB Connections
27
30. Goal Achieved
• Bounce Rate
Optimize • Time on Site
• Page Views
• Page Load Time
Goal
Analyze
Achieved? • Page Size
• Server CPU Usage
• Server RAM Usage
Measure
• DB Connections
30
33. Tuning Scope
Performance
Tuning
Web/Application Database
server server
Enterprise System
Services
SQL System
Application Pool CPU Memory
Size Object Pool Size
Cache Memory
Optimize Idle Disk I/O Network I/O
Time Packet Privacy
Management Only Locks Network I/O
Web Services IIS
Indexes CPU
Configure Web Service
Adsutil
maxconnections Counters
Transactions Disk I/O
.NET MetaEdit
ASP.NET Tuning CLR Tuning
33
34. Environment Tuning
• 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
34
35. Environment Tuning
• 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
35
36. Code Tuning
• 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
36
37. Code Tuning
• 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
37