April 2013 Meeting Announcement

Instrumenting Your Code for Better Performance using ETW

Have you ever refactored a routine and needed to measure the performance difference between the original and new code? Ever have a customer tell you your application is slow? As you add new features, do you know how performance changes in your latest deployment? Do you know how performance changes when server hardware is upgraded? Ever experienced performance issues as the number of users increase? How quickly can you identify bottlenecks in your application? How do you determine the relationship between memory and CPU utilization, network traffic, or database access and your application’s operations?

Before you can effectively respond to performance problems, you need to have baseline measurements. You need to be proactive and build instrumentation into your application as you develop it and acquire performance data during development and testing.

The Event Tracing for Windows (ETW) subsystem has been built into Windows since Windows 2000. ETW provides a low overhead mechanism to capture data from various event sources built into the operating system as well as from your application.

Prior to .NET 4.5, interfacing to ETW was a pain for .NET developers. With the introduction of the EventSource class in .NET 4.5, instrumenting your application using ETW has become as easy as falling off a log.

This presentation gives an overview of ETW and shows you various techniques to instrument your application. The presentation will demonstrate use of Aspect Oriented Programming (AOP), using WCF custom behaviors to capture data inside the WCF call stack, using a Pub/Sub model via NServiceBus to consolidate instrumentation, and demonstrate the upcoming Semantic Logging Application Block (SLAB).

Speaker
Dan Moyer

Dan started programming on machines that used punch cards and Nixie tubes. His early career projects include implementing a variety of communication protocols, developing server management systems, and implementing frameworks for distributed business solutions. Today his interests continue in the areas of memory management, parallel processing, interconnecting systems via WCF / Web API and using software patterns and enterprise architecture models to develop robust distributed systems. Dan works at Optum Insight, located in Columbus Ohio, developing applications that process health care claims.

Pizza/Geek Dinner
Pizza will be provided as a snack during the meeting. For anyone interested in continuing the discussion a Geek Dinner will be held immediately after the meeting (Location – Logan’s Irish Pub).

When
5:30pm – 7:30pm
Tuesday April 30, 2013

Where
Marathon Petroleum Company – Findlay, OH