ASP.NET Application Performance Considerations
ASP.NET Application Performance Considerations
|
|
Threading Efficiency
|
Thread pool
tuning, Burst load, Creation of thread on per request, Blocking threads,
Asynchronous calls
|
Pool Resources
|
Same
connection string, Dispose or Close Call, Caching of pool resources, Obtain
resource and release time
|
ASP.NET Pages
|
Page
timeout, Page Size, Buffering, Page.IsPostBack, Partition Page Content,
Expensive loops, Sever.Transfer instead of Response.Redirect
|
Server Controls
|
View State in
Server Control, Deep hierarchies of Server Control
|
Data Binding
|
Page.DataBind,
DataBinder.Eval
|
Caching
|
Dynamic data and
static data, Memory limit, Caching right data, Refreshing cache, Cache API,
Output Caching, Partial Page or Fragment Caching, Cache location, Kernel
caching
|
State Management
|
InProc,
StateServer, SQL Server
|
View State
|
Disabling of View
State, Number of objects in View State, Size of View State
|
String Management
|
Response.Write
for formatting output, String builder for temporary buffers, HTMLTextWriter
for custom controls, Large number of temporary allocations in short time
|
Exception Management
|
Global error
handler, Number of exceptions thrown, Try/Finally on disposable resources,
Code to avoid exceptions,
|
Data Access
|
Paging for
large result set, DataReader vs DataSet, Requesting too much data
|
Security
|
Unwanted web
server traffic, Authentication for anonymous access, Validation on
client-side, Per-request impersonation, Caching sensitive data, Secure &
non-secure content, SSL for selective pages, Absolute URLs for Navigation
between HTTP and HTTPs, SSL Hardware, SSL Timeout
|
Deployment
|
Overhead of
inter process and inter computer communication, Memory limit configuration,
Tracing & Debugging, Web garden configuration, HTTP Compression
|
Comments
Post a Comment