Posted by: Cirilo Meggiolaro | 12/10/2008

Tip of the day #57 – Windows Workflow Foundation Performance Counters

Today’s tip is a compilation of performance counters available for Windows Workflow Foundation (WWF). If you haven’t had the need to use this list yet here’s my piece of advice: When someone calls you at 3am asking for help to diagnostic some workflows you may need it. I had to make some researches about it, so let’s share it!

Quick overview

Performance counters are not new and I haven’t written about it yet but just to give a quick overview, performance counters are basically statistics collected and calculated by the system to allow monitoring. You may check memory usage for Asp.Net applications, I/O, SQL Server connections and millions of other items.

From your .NET applications you are able to create your own performance counters as well but this is a topic for another tip.

To check what’s going on your environment you must use the Performance Monitor application (also known as PerfMon).

Windows Workflow Foundation counters

The following performance counters are available on PerfMon for WWF:

  • Workflows Aborted (count): Total of workflows aborted using the Abort method;
  • Workflows Aborted/sec (rate): Rate that represents the number of workflows aborted per second;
  • Workflows Completed (count): Total of workflows that have completed;
  • Workflows Completed/sec (rate): Rate that represents the number of workflows completed per second;
  • Workflows Created (count): Total of workflows created;
  • Workflows Created/sec (rate): Rate that represents the number of workflows created per second;
  • Workflows Executing (count): Total of workflows executing a activity currently;
  • Workflows In Memory (count): Total of workflows in memory. It means that a workflow has been loaded;
  • Workflows Loaded (count): Total of workflow loaded;
  • Workflows Loaded/sec (rate): Rate that represents the number of workflows loaded per second;
  • Workflows Pending (count): Total of pending workflows;
  • Workflows Persisted (count): Total of persisted workflows;
  • Workflows Persisted/sec (rate): Rate that represents the number of workflows persisted per second;
  • Workflows Runnable (count): Total of workflows currently in a runnable state. It means that the workflow has received a event but has not started processing yet;
  • Workflows Suspended (count): Total of suspended workflows;
  • Workflows Suspended/sec (rate): Rate that represents the number of workflows suspended per second;
  • Workflows Terminated (count): Total of terminated workflows;
  • Workflows Terminated/sec (rate): Rate that represents the number of workflows terminated per second;
  • Workflows Unloaded (count): Total of unloaded workflows;
  • Workflows Unloaded/sec (rate): Rate that represents the number of workflows unloaded per second.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: