Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CS Nuglet: Monitoring background task durations

I've been using a lot of background tasks on one of my Community Server projects and I realized I needed better monitoring data.  I've blogged before about using the Events Log and Exceptions Report to monitor background tasks, but as the tasks begin to grow in their processes or data handling requirements its a good idea to record start and end times for individual process tasks.

One little tip is that if you want to get those juicy microsecond durations you need to use DateTime SQL datatypes rather than the SmallDateTime datatype.  Using that information I was able to see the performance increases after some task tweaking.  The data shown below is in a development environment and I use a DBVT.Config global property to alter the task, so the durations aren't consistent, but this approach gives you the data you need to stay on top of your Community Server background tasks.

 

Comments (1) | Post RSS RSS comment feed

Posted on 10/10/2007 8:02:44 PM by Dave Burke
Categories: .NET | Community Server | Jobs Management App

Related posts

Comments

Comments are closed

Copyright © 2008 Dave Burke Consulting  |  All Rights reserved.