Вы находитесь на странице: 1из 6

INDONESIA

DEVELOPMENT, ADVANCED

Darmawan Suandi
Technical Advisor, Microsoft Indonesia

Best Practices: .NET Performance and Optimization

/darmawan.suandi

@dsuandi

Performance Optimization Practices


Hitting Local Cache Hitting Kernel or Memory Cache Compressed Static Contents

Static Contents
Dynamic Contents
Using application cache effectively

Frequent access to disk to load contents

Hitting Output Cache

handling any large or lots of data, strings, XML, or document

Using bad query Select everything from everywhere


where whatever

Excessive roundtrips to DB or any BE Server

Delayed Response from DB or any BE Server

Deadlock Blocking shared resource

.NET Best Practices


Detecting high memory consuming function in .NET Code Improve garbage collector performance using finalize/dispose pattern Using performance counters to gather performance data Detecting .NET application memory leaks Improve bandwidth performance of ASP.NET sites using IIS compression

Garbage Collection

Resources
Improving .NET Application Performance and Scalability http://msdn.microsoft.com/en-us/library/ff647215.aspx .NET Performance Best Practices http://www.codeproject.com/KB/dotnet/DotNetBestPractices 1.aspx

Thank You

Microsoft Virtual Academy

IT Pro Trials

Developer Downloads

Вам также может понравиться