ASP.NET performance

Please download to get full document.

View again

of 17
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Documents

Published:

Views: 4 | Pages: 17

Extension: PPT | Download: 0

Share
Related documents
Description
ASP.NET controls. Excel exports. Zipping content. Compressed output ... Using asp.net httpModules, to add compression to generated html: Web config: httpModules ...
Tags
Transcript
Title: ASP.NET performance 1 ASP.NET performance By Yaniv Sharon Forum .NET 5th Meeting ? March 2006 2 Agenda
  • What is Performance tuning
  • Problem description
  • Viewstate
  • Mass data handling
  • ASP.NET controls
  • Excel exports
  • Zipping content
  • Compressed output
  • 3 What is Performance tuning? Monitoring and analyzing the net performance of a system and adjusting its configuration to obtain optimum performance. 4 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 Problem description
  • Slow access of FE BO users
  • Physical line limitations (BO)
  • Multi posting of forms (BO FE)
  • 6 200ms 500ms 100ms
  • Get 200ms
  • Process 100ms
  • Result 500ms
  • Total 800ms
  • 7 1500ms 1500ms 1500ms 500ms 3000ms
  • Get 4500ms
  • Process 3000ms
  • Result 500ms
  • Total 8000ms
  • 8 ASP.NET controls
  • Control names
  • Single object controls
  • Multi-objects controls (tables etc)
  • 9 Viewstate
  • The Viewstate input
  • Minimize Viewstate usage
  • Using server-side solutions
  • Re-generating the data
  • Session object (higher server utilization, less network traffic)
  • 10 Content compression
  • Using asp.net httpModules, to add compression to generated html
  • Web config
  • lthttpModulesgt
  • ltadd name"CompressionModule" type"blowery.Web.HttpCompress.HttpModule, blowery.web.HttpCompress"/gt
  • lt/httpModulesgt
  • Supported by IE5.5
  • 11 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 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 Excel exports
  • Export using the response object
  • Pros
  • Faster
  • Line number limit is 64K
  • Minimum cpu usage (server side)
  • Cons
  • No styling
  • 14 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 Questions? 16 Thank You
    We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks
    SAVE OUR EARTH

    We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

    More details...

    Sign Now!

    We are very appreciated for your Prompt Action!

    x