1
e-Commerce web site
Turn off Session State, if not required
Disable View State of a Page if possible
Set debug=false in web.config
Avoid Response.Redirect, use Server.Trasfer for same site page navigation
Use the String builder to concatenate string
Avoid throwing exceptions, use validation framework for business exception
Proper use of Use Page.ISPostBack
Use Foreach loop instead of For loop for String Iteration
Cleaning Up Style Sheets and Script Files . Minify JavaScript and CSS
Check for CSS Expressions, remove if found.
Remove Duplicate Scripts
Place StyleSheets into the Header
Put Scripts to the end of Document
Make JavaScript and CSS External, No inline CSS or Javascripts in page.
Page not found for JS, CSS or Image should not come
Reduce Cookie Size
Optimize Images using http://www.imagemagick.org/
If new thread is created than thread must be in try.. catch. And check for deadlock situation.
For subsequent request images, js and CSS should be fetch from cache.
2
WCF services/ Web Service
Individual services should not take more than one second.
ASynchronized methods implemented if services are taking more than one seconds.
Require caching is implemented or not.
Exception is properly handling or not.
3
MOSS
Check for Delay load the core .js
IIS Compression - Static compression should be on and Dynamic compression should be off.
cache profile is created for output caching
Disk-based Caching for binary large objects are enabled or not. Like <BlobCache location="C:\blobCache" path="\.(gif|jpg|png|css|js)$" maxSize="10" max-age="86400" enabled="false"/>
4
C#
Code review and optimization of code
5
Fiddler
Capture request and response for all the happy path scenarios and check for performance
6
ANTS profiler
Generate report for individual method and sun methods and perform analysis
7
Event viewer
Check that any error or warning are posted in event viewer due to code or not
8
BPA tools
Run and clean noncompliant
9
SQL Profiler
Generate trace file and analysis using Advisor.
10
Performance Analysis of Logs
Check for memory and CPU utilization.
11
Event Viewer
Configure MSDTC as per the MS recommendation.
Richard Mueller edited Revision 2. Comment: Modified title casing, added tag
This is related to 3rd one , for blob cache in SharePoint , few point worth noting are available at sharepoint.asia/best-practices-for-blob-cache
We are having performance issues on one of our SharePoint 2010 server .This is a Windows Server 2008 R2.
Application keeps running smooth even with top user hits and search crawls.
But some times even with less than 40 % loads , we get around 100 % cpu usage.
Assuming this is not something custom code , but environmental / configuration issue , I have jotted down few of the top most errors .
Please help me point out the top most culprit of these :
1. sharepoint.asia/faulting-application-name-ccmexec-exe-version-4-0-6221-1000-time-stamp-0x-339-6-faulting-module-name-ntdll-dll-version-6-1-7601-17725-time-stamp-0x-c4-8f
2. sharepoint.asia/question-the-backing-file-for-the-real-time-session-wdc-be95a9b1-de15-4b78-b923-a12ab70be951-has-reached-its-maximum-size
3. sharepoint.asia/msdtc-encountered-an-error-hr0x80000171-while-attempting-to-establish-a-secure-connection-with-system
4. sharepoint.asia/the-com-system-application-service-entered-the-running-state
5. sharepoint.asia/the-application-specific-permission-settings-do-not-grant-local-launch-permission-for-the-com-server-application-with-clsid
6. sharepoint.asia/the-following-fatal-alert-was-generated-10-the-internal-error-state-is-1203
7. sharepoint.asia/question-memory-leak-microsoft-sharepoint-sprequestmanager-getcontextrequestsprequestauthenticationmode-authenticationmode