Download presentation
Presentation is loading. Please wait.
Published byKerry Booker Modified over 8 years ago
1
Random Logic l Forum.NET l 20061 ASP.NET performance Forum.NET 5 th Meeting ● March 2006 By Yaniv Sharon
2
Random Logic l Forum.NET l 20062 Agenda What is Performance tuning Problem description Viewstate Mass data handling ASP.NET controls Excel exports Zipping content Compressed output
3
Random Logic l Forum.NET l 20063 What is Performance tuning? Monitoring and analyzing the net performance of a system and adjusting its configuration to obtain optimum performance.
4
Random Logic l Forum.NET l 20064 What is Performance tuning? -In computing, optimization is the process of modifying a system to improve its efficiency. The system can be a single computer program, a collection of computers or even an entire network such as the Internet. http://en.wikipedia.org/wiki/Performance_tuning
5
Random Logic l Forum.NET l 20065 Problem description -Slow access of FE & BO users -Physical line limitations (BO) -Multi posting of forms (BO & FE)
6
Random Logic l Forum.NET l 20066 HTTP REQUEST (GET) Process Request RESULT 500ms 200ms 100ms 1.Get 200ms 2.Process 100ms 3.Result 500ms Total 800ms
7
Random Logic l Forum.NET l 20067 HTTP REQUEST (GET) Process Request RESULT500ms 1500ms 3000ms 1.Get 4500ms 2.Process 3000ms 3.Result 500ms Total 8000ms HTTP REQUEST (GET) 1500ms
8
Random Logic l Forum.NET l 20068 ASP.NET controls Control names Single object controls Multi-objects controls (tables etc)
9
Random Logic l Forum.NET l 20069 Viewstate -The Viewstate input -Minimize Viewstate usage -Using server-side solutions -Re-generating the data -Session object (higher server utilization, less network traffic)
10
Random Logic l Forum.NET l 200610 Using asp.net httpModules, to add compression to generated html: Web config: Supported by IE5.5+ Content compression
11
Random Logic l Forum.NET l 200611 Compressed output -IIS supports compress output -IE 5.5(?) and higher -Not fully supported in all browsers -Good for BO -Images -Saves 30%-40% of traffic
12
Random Logic l Forum.NET l 200612 Excel exports -Most exports are done with exporter objects. -Pros: -Styled output -Cons: -Slow processing -High Cpu utilization (server side) -Limited line numbers (5K)
13
Random Logic l Forum.NET l 200613 Excel exports -Export using the response object -Pros: -Faster -Line number limit is 64K -Minimum cpu usage (server side) -Cons: -No styling
14
Random Logic l Forum.NET l 200614 Zipping content! -Determine what content can be zipped (excel exports) -Use zip component to zip the output -Save 90% of network traffic -Save 90% of download time
15
Random Logic l Forum.NET l 200615 Questions?
16
Random Logic l Forum.NET l 200616 Thank You
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.